What does this pull request do? Explain your changes. (required)
This change logs each advertised capability, model and price from the aiModels config when log level of info or debug is used.
Sample log lines:
I0423 23:44:26.940464 544271 starter.go:601] Capability text-to-image (ID: 27) advertised with model constraint ByteDance/SDXL-Lightning at price 4768371 per 1 unit
I0423 23:44:26.940511 544271 starter.go:601] Capability image-to-image (ID: 28) advertised with model constraint ByteDance/SDXL-Lightning at price 4768371 per 1 unit
I0423 23:44:26.940530 544271 starter.go:601] Capability image-to-video (ID: 29) advertised with model constraint stabilityai/stable-video-diffusion-img2vid-xt-1-1 at price 3390842 per 1 unit
Specific updates (required)
Updates starter.go, adding a new log line after the aiModels.json config is loaded when -v 6 is used.
How did you test each of these updates (required)
Loaded go-livepeer in orchestrator mode with -aiWorker and -aiModels config containing multiple models with different prices. Log result is shown above.
What does this pull request do? Explain your changes. (required) This change logs each advertised capability, model and price from the aiModels config when log level of info or debug is used.
Sample log lines:
Specific updates (required)
starter.go
, adding a new log line after theaiModels.json
config is loaded when-v
6 is used.How did you test each of these updates (required)
Does this pull request close any open issues?
Checklist:
make
runs successfully./test.sh
pass