Skip to content

Commit bdaeddc

Browse files
committed
handling merge conflicts and fixing all regressions in implemention
1 parent 9c597a5 commit bdaeddc

16 files changed

Lines changed: 2196 additions & 1334 deletions

src/maxdiffusion/configs/base_flux2klein.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ t5xxl_model_name_or_path: 'ariG23498/t5-v1-1-xxl-flax'
3535
flux_name: "flux2klein"
3636
scale_shift_order: "scale_shift"
3737
use_latents: False
38+
latents_path: ""
3839
max_sequence_length: 512
3940
time_shift: True
4041
base_shift: 0.5
4142
max_shift: 1.15
4243
# offloads t5 encoder after text encoding to save memory.
43-
offload_encoders: True
44+
offload_encoders: False
4445

4546

4647
unet_checkpoint: ''
@@ -160,9 +161,9 @@ dcn_fsdp_parallelism: -1
160161
dcn_context_parallelism: 1
161162
dcn_tensor_parallelism: 1
162163
ici_data_parallelism: 1
163-
ici_fsdp_parallelism: -1 # recommended ICI axis to be auto-sharded
164+
ici_fsdp_parallelism: 1
164165
ici_context_parallelism: 1
165-
ici_tensor_parallelism: 1
166+
ici_tensor_parallelism: 4
166167

167168
allow_split_physical_axes: False
168169

@@ -203,6 +204,7 @@ max_train_steps: 1500
203204
num_train_epochs: 1
204205
seed: 0
205206
output_dir: 'output/'
207+
output_name: "flux2klein_generated_image.png"
206208
per_device_batch_size: 1
207209

208210
warmup_steps_fraction: 0.1
@@ -224,7 +226,7 @@ profiler_steps: 10
224226
profiler: ""
225227

226228
# Generation parameters
227-
prompt: "A detailed vector illustration of a robotic hummingbird || A cinematic shot of a neon-lit cyberpunk street"
229+
prompt: "a car jumping off of a cliff with a crowd cheering"
228230
prompt_2: "A detailed vector illustration of a robotic hummingbird || A cinematic shot of a neon-lit cyberpunk street"
229231
negative_prompt: ""
230232
do_classifier_free_guidance: True

src/maxdiffusion/configs/base_flux2klein_9B.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ t5xxl_model_name_or_path: 'ariG23498/t5-v1-1-xxl-flax'
3535
flux_name: "flux2klein_9B"
3636
scale_shift_order: "scale_shift"
3737
use_latents: False
38+
latents_path: ""
3839
max_sequence_length: 512
3940
time_shift: True
4041
base_shift: 0.5
4142
max_shift: 1.15
4243
# offloads t5 encoder after text encoding to save memory.
43-
offload_encoders: True
44+
offload_encoders: False
4445

4546

4647
unet_checkpoint: ''
@@ -203,6 +204,7 @@ max_train_steps: 1500
203204
num_train_epochs: 1
204205
seed: 0
205206
output_dir: 'output/'
207+
output_name: "flux2klein_generated_image.png"
206208
per_device_batch_size: 1
207209

208210
warmup_steps_fraction: 0.1

0 commit comments

Comments
 (0)