Skip to content

Commit d39a29e

Browse files
committed
reduce dims in tests
1 parent 6d0a780 commit d39a29e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/py/dynamo/models/test_weight_stripped_engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def test_different_args_share_cached_engine(self):
458458
class MyModel(torch.nn.Module):
459459
def __init__(self):
460460
super().__init__()
461-
self.conv = torch.nn.Conv2d(512, 64, 32, stride=1, bias=True)
461+
self.conv = torch.nn.Conv2d(3, 4, 3, stride=1, bias=True)
462462
self.relu = torch.nn.ReLU()
463463

464464
def forward(self, x):
@@ -472,7 +472,7 @@ def forward(self, x):
472472
if os.path.exists(engine_cache_dir):
473473
shutil.rmtree(engine_cache_dir)
474474

475-
inputs = [torch.rand((64, 512, 32, 32)).to("cuda")]
475+
inputs = [torch.rand((4, 3, 32, 32)).to("cuda")]
476476

477477
for i in range(2):
478478
if i == 0:

0 commit comments

Comments
 (0)