jamesr66a commited on
Commit
ffc565c
·
1 Parent(s): e4bc5d6
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. config.json +3 -3
  3. configs/config-schnell.json +9 -9
  4. flumina.py +1 -1
.gitattributes CHANGED
@@ -3,3 +3,4 @@ ae.safetensors filter=lfs diff=lfs merge=lfs -text
3
  t5-v1_1-xxl-encoder-bf16//*.safetensor filter=lfs diff=lfs merge=lfs -text
4
  t5-v1_1-xxl-encoder-bf16//spiece.model filter=lfs diff=lfs merge=lfs -text
5
  t5-v1_1-xxl-encoder-bf16/model.safetensors filter=lfs diff=lfs merge=lfs -text
 
 
3
  t5-v1_1-xxl-encoder-bf16//*.safetensor filter=lfs diff=lfs merge=lfs -text
4
  t5-v1_1-xxl-encoder-bf16//spiece.model filter=lfs diff=lfs merge=lfs -text
5
  t5-v1_1-xxl-encoder-bf16/model.safetensors filter=lfs diff=lfs merge=lfs -text
6
+ flux1-schnell.safetensors filter=lfs diff=lfs merge=lfs -text
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "config_path": "configs/config-dev.json",
3
- "flow_model_path": "flux1-dev.safetensors",
4
- "model_version": "flux-dev",
5
  "flux_device": "cuda",
6
  "autoencoder_path": null,
7
  "autoencoder_device": "cuda",
 
1
  {
2
+ "config_path": "configs/config-schnell.json",
3
+ "flow_model_path": "flux1-schnell.safetensors",
4
+ "model_version": "flux-schnell",
5
  "flux_device": "cuda",
6
  "autoencoder_path": null,
7
  "autoencoder_device": "cuda",
configs/config-schnell.json CHANGED
@@ -34,16 +34,16 @@
34
  "scale_factor": 0.3611,
35
  "shift_factor": 0.1159
36
  },
37
- "ckpt_path": "/big/generator-ui/flux-testing/flux/model-dir-schnell/flux1-schnell.sft",
38
- "ae_path": "/big/generator-ui/flux-testing/flux/model-dir-schnell/ae.sft",
39
  "repo_id": "black-forest-labs/FLUX.1-schnell",
40
- "repo_flow": "flux1-schnell.sft",
41
- "repo_ae": "ae.sft",
42
  "text_enc_max_length": 256,
43
- "text_enc_path": "city96/t5-v1_1-xxl-encoder-bf16",
44
- "text_enc_device": "cuda:1",
45
- "ae_device": "cuda:1",
46
- "flux_device": "cuda:0",
47
  "flow_dtype": "float16",
48
  "ae_dtype": "bfloat16",
49
  "text_enc_dtype": "bfloat16",
@@ -54,4 +54,4 @@
54
  "offload_ae": false,
55
  "offload_text_enc": false,
56
  "offload_flow": false
57
- }
 
34
  "scale_factor": 0.3611,
35
  "shift_factor": 0.1159
36
  },
37
+ "ckpt_path": "flux1-schnell.safetensors",
38
+ "ae_path": "ae.safetensors",
39
  "repo_id": "black-forest-labs/FLUX.1-schnell",
40
+ "repo_flow": "flux1-dev.safetensors",
41
+ "repo_ae": "ae.safetensors",
42
  "text_enc_max_length": 256,
43
+ "text_enc_path": "t5-v1_1-xxl-encoder-bf16",
44
+ "text_enc_device": "cuda",
45
+ "ae_device": "cuda",
46
+ "flux_device": "cuda",
47
  "flow_dtype": "float16",
48
  "ae_dtype": "bfloat16",
49
  "text_enc_dtype": "bfloat16",
 
54
  "offload_ae": false,
55
  "offload_text_enc": false,
56
  "offload_flow": false
57
+ }
flumina.py CHANGED
@@ -118,7 +118,7 @@ class Text2ImageRequest(BaseModel):
118
  prompt: str
119
  aspect_ratio: str = "16:9"
120
  guidance_scale: float = 3.5
121
- num_inference_steps: int = 30
122
  seed: int = 0
123
 
124
 
 
118
  prompt: str
119
  aspect_ratio: str = "16:9"
120
  guidance_scale: float = 3.5
121
+ num_inference_steps: int = 4
122
  seed: int = 0
123
 
124