forked from camenduru/flux.1-dev-lora-tost
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create separate image for dev and prod
- Loading branch information
1 parent
f3148f7
commit 2abf13f
Showing
8 changed files
with
103 additions
and
182 deletions.
There are no files selected for viewing
File renamed without changes.
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,24 @@ | ||
# Required Python packages get listed here, one per line. | ||
# Lock the version number to avoid unexpected changes. | ||
|
||
# You can also install packages from a git repository, e.g.: | ||
# git+https://github.com/runpod/runpod-python.git | ||
# To learn more, see https://pip.pypa.io/en/stable/reference/requirements-file-format/ | ||
|
||
torch | ||
torchvision | ||
torchaudio | ||
opencv-python | ||
imageio | ||
imageio-ffmpeg | ||
ffmpeg-python | ||
av | ||
runpod | ||
xformers==0.0.25 | ||
torchsde==0.2.6 | ||
einops==0.8.0 | ||
diffusers==0.28.0 | ||
transformers==4.41.2 | ||
accelerate==0.30.1 | ||
numpy<2 | ||
|
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,33 @@ | ||
variable "DOCKERHUB_REPO" { | ||
default = "timpietruskyblibla" | ||
} | ||
|
||
variable "DOCKERHUB_IMG" { | ||
default = "flux-1-dev-lora-worker" | ||
} | ||
|
||
variable "RELEASE_VERSION" { | ||
default = "latest" | ||
} | ||
|
||
group "default" { | ||
targets = ["development", "production"] | ||
} | ||
|
||
target "development" { | ||
context = "." | ||
dockerfile = "Dockerfile" | ||
args = { | ||
ENVIRONMENT = "development" | ||
} | ||
tags = ["${DOCKERHUB_REPO}/${DOCKERHUB_IMG}:dev"] | ||
} | ||
|
||
target "production" { | ||
context = "." | ||
dockerfile = "Dockerfile" | ||
args = { | ||
ENVIRONMENT = "production" | ||
} | ||
tags = ["${DOCKERHUB_REPO}/${DOCKERHUB_IMG}:latest"] | ||
} |
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 |
---|---|---|
@@ -1,13 +1,16 @@ | ||
{ | ||
"positive_prompt": "A cat holding a sign that says 'I LOVE TOST!'", | ||
"seed": 0, | ||
"steps": 20, | ||
"input": { | ||
"positive_prompt": "a black and white drawing of a city", | ||
"width": 512, | ||
"height": 512, | ||
"seed": 13379, | ||
"steps": 24, | ||
"guidance": 3.5, | ||
"lora_url": "https://huggingface.co/TostAI/flux-1-dev-lora/resolve/main/8iiu0y.safetensors", | ||
"lora_strength_model": 1, | ||
"lora_strength_clip": 1, | ||
"lora_strength_model": 0.8, | ||
"lora_strength_clip": 0.8, | ||
"sampler_name": "euler", | ||
"scheduler": "simple", | ||
"width": 1024, | ||
"height": 1024 | ||
} | ||
"job_id": "test-job-123", | ||
"lora_name": "zanshou-kin-flux-ueno-manga-style.safetensors" | ||
} | ||
} |
File renamed without changes.
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 was deleted.
Oops, something went wrong.