Skip to content

Commit

Permalink
add nightly marker for torch.compile test
Browse files Browse the repository at this point in the history
  • Loading branch information
a-r-r-o-w committed Dec 9, 2024
1 parent e9fccb6 commit bc874fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/quantization/torchao/test_torchao.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ def test_training(self):
self.assertTrue(module.adapter[1].weight.grad is not None)
self.assertTrue(module.adapter[1].weight.grad.norm().item() > 0)

@nightly
def test_torch_compile(self):
r"""Test that verifies if torch.compile works with torchao quantization."""
quantization_config = TorchAoConfig("int8_weight_only")
Expand Down

0 comments on commit bc874fc

Please sign in to comment.