Skip to content

Commit 4645e28

Browse files
prathikrPrathik Raoanton-l
authored
tensor format ort bug fix (#1557)
bug fix Co-authored-by: Prathik Rao <[email protected]> Co-authored-by: anton- <[email protected]>
1 parent 5893305 commit 4645e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/unconditional_image_generation/train_unconditional_ort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def main(args):
7777
),
7878
)
7979
model = ORTModule(model)
80-
noise_scheduler = DDPMScheduler(num_train_timesteps=1000, tensor_format="pt")
80+
noise_scheduler = DDPMScheduler(num_train_timesteps=1000)
8181
optimizer = torch.optim.AdamW(
8282
model.parameters(),
8383
lr=args.learning_rate,

0 commit comments

Comments
 (0)