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

Integrate Stable Diffusion 1.4 & 3.5-medium #193

Open
wants to merge 22 commits into
base: dev
Choose a base branch
from
Open

Integrate Stable Diffusion 1.4 & 3.5-medium #193

wants to merge 22 commits into from

Conversation

bgoelTT
Copy link
Contributor

@bgoelTT bgoelTT commented Feb 24, 2025

This PR integrates the Stable-Diffusion-1.4 & Stable-Diffusion-3.5-medium inference servers into TT-Studio. A new frontend page has been introduced alongside a new model backend to call the servers' APIs.

Note that there is a bug #195 when deploying non-LLM models. The new default behaviour introduced in #168 is to always attempt to deploy the agent container. This breaks for all the non-LLM models. See tt-studio/app/api/docker_control/views.py for the offending code.

Closes #194

bgoelTT and others added 22 commits January 23, 2025 12:50
* change font and app name

* remove dropdown from theme toggle button

* add shadow effects on hover

* fix :@import must precede all other statements

* create and use common theme class for navbar

* add help sidebar component :
- opens and closes on clicking help icon on navbar
- inital jsx for component

* break down model selection component into multiple components

* add more common themes

* update help component

* Add more on hover effects for buttons
- on hover change button color from grey to white

* add TT font

* add model name

* more fixes

* more fixes to chatui
- break long texts
- some theme providers

* add menu bar shadcnn component

* shadcnn menu bar component

* send model name to chatui component

* make navbar vertical in chat ui mode

* add breadcumbs links on chat ui page

* ensure mode name is being sent to chat page for display

* Ui color fixes for main page footer

* make default theme as dark mode

* clean up

* fix help sidebar to appear on whole page

* update package lock json to fix:
- ETIMEDOUT errors

---------

Co-authored-by: Tom Stesco <[email protected]>
@bgoelTT bgoelTT requested a review from anirudTT February 24, 2025 18:05
@bgoelTT bgoelTT self-assigned this Feb 24, 2025
@bgoelTT bgoelTT mentioned this pull request Feb 24, 2025
Copy link
Contributor

@anirudTT anirudTT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was able to deploy both s.d 1.4 & 3.5 .

Screenshot 2025-02-28 at 9 54 05 PM

@anirudTT
Copy link
Contributor

anirudTT commented Mar 1, 2025

Might need to rebase to dev to ensure that agent is not deployed every time a non llm based model is deployed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants