Skip to content

Commit

Permalink
Potentially fix module not found
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleHerndon committed Nov 22, 2024
1 parent 40fbd1a commit 8727221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sharktank/tests/layers/mmdit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def forward(self, img, txt, vec, pe):

@fxb.export_program(name="mmdit", args=(img, txt, vec, rot), strict=False)
def _(model, img, txt, vec, rot) -> torch.Tensor:
return mod(img, txt, vec, rot)
return model(img, txt, vec, rot)

output = aot.export(fxb)
output.verify()
Expand Down

0 comments on commit 8727221

Please sign in to comment.