Skip to content

Commit

Permalink
moving fps tensor to gpu
Browse files Browse the repository at this point in the history
Signed-off-by: Zeeshan Patel <[email protected]>
  • Loading branch information
Zeeshan Patel committed Nov 8, 2024
1 parent 9ca52c9 commit d576cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo/collections/diffusion/models/dit/dit_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def forward(
* B,
dtype=torch.bfloat16,
),
).view(-1)
).view(-1).cuda()
if self.pre_process:
# transpose to match
x_B_S_D = self.x_embedder(x)
Expand Down

0 comments on commit d576cf7

Please sign in to comment.