1
Some checks failed
CI / lint (push) Failing after 10s

This commit is contained in:
zcr
2026-03-18 11:18:49 +08:00
parent b3eda2f7c7
commit c8fb30aaee
3 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@@ -230,4 +230,5 @@ $RECYCLE.BIN/
# End of https://www.toptal.com/developers/gitignore/api/linux,windows,macos,visualstudiocode,python
output/
*.png
*.png
checkpoint/

View File

@@ -37,6 +37,7 @@ class FluxKleinAPI(ls.LitAPI):
self.pipe = Flux2KleinPipeline.from_pretrained(
self.repo_id,
cache_dir="./checkpoint/",
torch_dtype=self.dtype
)
self.pipe.to(device)

View File

@@ -7,6 +7,7 @@ services:
working_dir: /app
volumes:
- ./app:/app/app
- ./checkpoint:/app/checkpoint
- /etc/localtime:/etc/localtime:ro
ports:
- "14202:8451"