Skip to content

Commit d2a60b5

Browse files
author
Kunjan
authored
Fix maxdiffusion test (GoogleCloudPlatform#783)
Signed-off-by: Kunjan patel <kunjanp@google.com>
1 parent 4e06a81 commit d2a60b5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

dags/sparsity_diffusion_devx/maxdiffusion_tpu_e2e.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
maxdiffusion_test_configs_sdxl = {
4848
# accelerator: list of slices to test
4949
"v6e-256": [1, 2],
50-
"v4-8": [1, 2],
50+
"v5-8": [1, 2],
5151
}
5252
maxdiffusion_test_configs_sdv2 = {
5353
# accelerator: list of slices to test
@@ -105,7 +105,7 @@
105105
f"pip install . && python src/maxdiffusion/train_sdxl.py src/maxdiffusion/configs/base_xl.yml "
106106
f"pretrained_model_name_or_path=gs://maxdiffusion-github-runner-test-assets/checkpoints/models--stabilityai--stable-diffusion-xl-base-1.0 "
107107
f"revision=refs/pr/95 activations_dtype=bfloat16 weights_dtype=bfloat16 "
108-
f"dataset_name=gs://jfacevedo-maxdiffusion-v5p/pokemon-datasets/pokemon-gpt4-captions_xl resolution=1024 per_device_batch_size=1 "
108+
f"dataset_name=gs://jfacevedo-maxdiffusion-v5p/pokemon-datasets/pokemon-gpt4-captions_sdxl resolution=1024 per_device_batch_size=1 "
109109
f"jax_cache_dir=gs://jfacevedo-maxdiffusion/cache_dir/ max_train_steps=20 attention=flash enable_profiler=True "
110110
f"run_name='' "
111111
f"output_dir={sdxl_base_output_dir}",
@@ -156,6 +156,7 @@
156156
f"JAX_PLATFORMS=tpu,cpu ENABLE_PJRT_COMPATIBILITY=true TPU_SLICE_BUILDER_DUMP_CHIP_FORCE=true TPU_SLICE_BUILDER_DUMP_ICI=true JAX_FORCE_TPU_INIT=true ENABLE_TPUNETD_CLIENT=true && "
157157
f"pip install . && python src/maxdiffusion/train.py src/maxdiffusion/configs/base_2_base.yml "
158158
f"run_name=maxdiffusion-v2-jax-stable-stack "
159+
f"jit_initializers=False "
159160
f"jax_cache_dir=gs://jfacevedo-maxdiffusion/cache_dir/ "
160161
f"activations_dtype=float32 "
161162
f"weights_dtype=float32 "

0 commit comments

Comments
 (0)