Skip to content

Commit edeb626

Browse files
committed
make style
1 parent 6dc9bdb commit edeb626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/convert_cogvideox_to_diffusers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def get_args():
244244
text_encoder_id = "google/t5-v1_1-xxl"
245245
tokenizer = T5Tokenizer.from_pretrained(text_encoder_id, model_max_length=TOKENIZER_MAX_LENGTH)
246246
text_encoder = T5EncoderModel.from_pretrained(text_encoder_id, cache_dir=args.text_encoder_cache_dir)
247-
247+
248248
# Apparently, the conversion does not work anymore without this :shrug:
249249
for param in text_encoder.parameters():
250250
param.data = param.data.contiguous()

0 commit comments

Comments
 (0)