Closed treksis closed 1 year ago
Gently pinging @pcuenca - in case you have 5min could you take a look here?
Hi @treksis, the problem is that the Flax weights are currently stored in a different branch of the repo, called flax
. For this to work, we need to:
revision
command-line argument. This will be addressed by #2567.--revision=flax
:!python train_text_to_image_flax.py \
--pretrained_model_name_or_path=$MODEL_NAME \
--revision=flax \
--dataset_name=$dataset_name \
--resolution=512 --center_crop --random_flip \
--train_batch_size=1 \
--max_train_steps=15000 \
--learning_rate=1e-05 \
--max_grad_norm=1 \
--output_dir="sd-pokemon-model"
Note, however, that the preferred way to store different model weights going forward will be through the use of variants (see #2305 for details), so those weights will be unified in the main branch in the future.
Describe the bug
Hi, I'm in colab pro environment using TPU v2 for the test purpose.
I get this error
Reproduction
Logs
No response
System Info
Accelerate ENV
TPU version