Skip to content

Commit a54907e

Browse files
committed
resolve CUDA OOM issue in tests
1 parent 9c2faf5 commit a54907e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/py/dynamo/models/test_weight_stripped_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class TestWeightStrippedEngine(TestCase):
2929
)
3030
def test_three_ways_to_compile(self):
3131
pyt_model = models.resnet18(pretrained=True).eval().to("cuda")
32-
example_inputs = (torch.randn((100, 3, 224, 224)).to("cuda"),)
32+
example_inputs = (torch.randn((2, 3, 224, 224)).to("cuda"),)
3333
exp_program = torch.export.export(pyt_model, example_inputs)
3434

3535
settings = {

0 commit comments

Comments
 (0)