-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove clone from each model startup for ComfyUI (#146)
First pass at cleaning up this example. The should probably make it easy to add the models to the cache but will just take it step by step and hopefully invite other people to contribute. @htrivedi99 would you mind taking a look please? I tested the dev deployment.
- Loading branch information
Showing
3 changed files
with
26 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM baseten/truss-server-base:3.11-gpu-v0.7.17 | ||
|
||
ARG COMMIT_HASH 6a7bc35db845179a26e62534f3d4b789151e52fe | ||
|
||
RUN git clone https://github.com/comfyanonymous/ComfyUI.git /app/ComfyUI | ||
|
||
RUN cd /app/ComfyUI; git checkout $COMMIT_HASH; pip install -r requirements.txt |