Skip to content

Commit

Permalink
fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00-pl committed Nov 29, 2024
1 parent d3e4753 commit 286b3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/module_pool/simple_nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def forward(self, x):


def check_torch_compile_forward(model, compiled_model):
input_data = torch.randn(2, 5)
input_data = torch.randn(1, 10)
expected_output = model(input_data)
actual_output = compiled_model(input_data)
assert torch.allclose(expected_output, actual_output), "Output mismatch between compiled and original model"
Expand Down

0 comments on commit 286b3f6

Please sign in to comment.