Skip to content

Commit a40b556

Browse files
committed
specify cuda
1 parent 7746318 commit a40b556

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

qa/common/gen_qa_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1412,8 +1412,8 @@ def forward(self, INPUT0, INPUT1):
14121412
ep = torch.export.export(
14131413
AddSubNet(swap),
14141414
(
1415-
torch.randn(*input_shape),
1416-
torch.randn(*input_shape),
1415+
torch.randn(*input_shape, device="cuda"),
1416+
torch.randn(*input_shape, device="cuda"),
14171417
),
14181418
)
14191419
torch._inductor.aoti_compile_and_package(

0 commit comments

Comments
 (0)