Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion train_svd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ def _get_add_time_ids(
os.makedirs(val_save_dir)

with torch.autocast(
str(accelerator.device).replace(":0", ""), enabled=accelerator.mixed_precision == "fp16"
str(accelerator.device).replace(":0", ""), enabled=accelerator.mixed_precision != "no"
):
for val_img_idx in range(args.num_validation_images):
num_frames = args.num_frames
Expand Down