Skip to content

Commit cde18c1

Browse files
authored
[https://nvbugs/5640873][fix] Move thop tests to pre-merge (#9094)
Signed-off-by: Hui Gao <[email protected]>
1 parent 22c1748 commit cde18c1

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

tests/integration/test_lists/test-db/l0_b300.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ l0_b300:
1717
tests:
1818
# ------------- PyTorch tests ---------------
1919
- unittest/_torch/attention # 200s
20-
# - unittest/_torch/thop
20+
- unittest/_torch/thop/parallel TIMEOUT (90)
21+
- unittest/_torch/thop/serial
2122
- unittest/_torch/executor # 250s
2223
- unittest/_torch/modules # 300s
2324
- accuracy/test_llm_api_pytorch.py::TestLlama3_1_8B::test_nvfp4

tests/integration/test_lists/test-db/l0_dgx_b300.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ l0_dgx_b300:
1616
backend: pytorch
1717
tests:
1818
- unittest/_torch/attention
19-
- unittest/_torch/thop
2019
- unittest/_torch/executor
2120
- unittest/_torch/modules
2221
- unittest/_torch/modeling -k "modeling_llama"

tests/unittest/_torch/thop/parallel/test_mamba_conv1d_op.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ class TestFunctional(unittest.TestCase):
1515
def setUp(self):
1616
tensorrt_llm.logger.set_level('error')
1717

18+
def tearDown(self):
19+
torch.cuda.empty_cache()
20+
1821
@parameterized.expand(
1922
list(
2023
product([2048], [4], ['context', 'generation'],

0 commit comments

Comments
 (0)