Unverified Commit 4645e283 authored by Prathik Rao's avatar Prathik Rao Committed by GitHub
Browse files

tensor format ort bug fix (#1557)



bug fix
Co-authored-by: default avatarPrathik Rao <prathikrao@microsoft.com>
Co-authored-by: default avataranton- <anton@huggingface.co>
parent 58933059
......@@ -77,7 +77,7 @@ def main(args):
),
)
model = ORTModule(model)
noise_scheduler = DDPMScheduler(num_train_timesteps=1000, tensor_format="pt")
noise_scheduler = DDPMScheduler(num_train_timesteps=1000)
optimizer = torch.optim.AdamW(
model.parameters(),
lr=args.learning_rate,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment