Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cli webserver handler to get network capabilities #3052

Open
wants to merge 2 commits into
base: ai-video
Choose a base branch
from

Conversation

ad-astra-video
Copy link
Contributor

What does this pull request do? Explain your changes. (required)
Adds cli webserver endpoint to provide AI models on network in JSON.

This is a very early look at the endpoint to get feedback.

Specific updates (required)

How did you test each of these updates (required)

Does this pull request close any open issues?

Checklist:

@github-actions github-actions bot added the AI Issues and PR related to the AI-video branch. label May 14, 2024
@ad-astra-video
Copy link
Contributor Author

ad-astra-video commented May 15, 2024

Last commit reformats the json to return a warm and cold count for each capability/model returned by the orchestrators on discovery requests.

example of json:
{"Image to image":{"ByteDance/SDXL-Lightning":{"Cold":5,"Warm":0},"SG161222/RealVisXL_V4.0":{"Cold":1,"Warm":0},"SG161222/RealVisXL_V4.0_Lightning":{"Cold":2,"Warm":0}},"Image to video":{"stabilityai/stable-video-diffusion-img2vid-xt-1-1":{"Cold":4,"Warm":3}},"Text to image":{"ByteDance/SDXL-Lightning":{"Cold":3,"Warm":4},"ByteDance/SDXL-Lightning-4step":{"Cold":0,"Warm":1},"ByteDance/SDXL-Lightning-8step":{"Cold":0,"Warm":1},"Lykon/dreamshaper-xl-lightning":{"Cold":0,"Warm":1},"SG161222/RealVisXL_V4.0":{"Cold":1,"Warm":1},"SG161222/RealVisXL_V4.0_Lightning":{"Cold":1,"Warm":4}}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Issues and PR related to the AI-video branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant