TensorRT-LLMs/tests/unittest/pytest.ini
Leslie Fang d9d898e8b7
[https://nvbugs/5608461][fix] exclude InductorSubproc from thread leak check (#8624)
Signed-off-by: leslie-fang25 <leslief@nvidia.com>
2025-10-24 13:08:42 +08:00

25 lines
697 B
INI

[pytest]
xdist_start_method = spawn
asyncio_default_fixture_loop_scope = module
threadleak = True
threadleak_exclude = asyncio_\d+|InductorSubproc
addopts = --durations=0 -W ignore::DeprecationWarning
pythonpath =
_torch/auto_deploy/_utils_test
../../examples/auto_deploy
../../examples/models/core
../../examples
env =
D:AUTO_DEPLOY_LOG_LEVEL=INFO
markers =
part0
part1
part2
part3
part4
gpu2: this test uses 2 GPUs
gpu4: this test uses 4 GPUs
post_merge: this test should only run in post merge
high_cuda_memory: this test uses a lot of CUDA memory (typically more than 12GB)
no_xdist: this test should not run when using pytest-xdist