triton-gateway-client

command module
v0.0.0-...-1d94de0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

README

Triton Gateway-client

This is the triton-gateway-client that uses a scheduler. Used the Text-to-Image feature of Stable Diffusion.

1. Docker Start

1.1 Download
git clone https://github.com/ahr-i/triton-gateway-client.git
1.2 Setting
cd triton-gateway-client
vim setting/setting.go

Modify the contents of the file.

package setting

/* ----- Server Setting ----- */
const ServerPort string = "6000" // Edit this

/* ----- Scheduler Server Setting ----- */
// If you are not using a scheduler, change the 'SchedulerActive' variable to false.
const SchedulerActive bool = false           // Edit this
const SchedulerUrl string = "localhost:8000" // Edit this

// If you are not using a Scheduler, please set the AgentURL.
const AgentURL string = "localhost:7000" // Edit this
1.3 Build
docker build -t triton-gateway .
1.4 Run
docker run -it --rm --name triton-gateway --network host triton-gateway

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL