Unverified Commit 90d5d45d authored by Kirthi Shankar Sivamani's avatar Kirthi Shankar Sivamani Committed by GitHub
Browse files

Add sanity test for lightning-thunder integration (#1531)


Signed-off-by: default avatarKirthi Shankar Sivamani <ksivamani@nvidia.com>
parent bc4c452c
......@@ -4,8 +4,9 @@
: ${TE_PATH:=/opt/transformerengine}
: ${LIGHTNING_THUNDER_PATH:=/opt/pytorch/lightning-thunder}
pip install pytest==8.2.1
pip install pytest==8.2.1 pytest-benchmark==5.1.0
FAIL=0
......@@ -24,5 +25,6 @@ pytest -v -s $TE_PATH/tests/pytorch/test_fusible_ops.py || FAIL=1
pytest -v -s $TE_PATH/tests/pytorch/test_permutation.py || FAIL=1
pytest -v -s $TE_PATH/tests/pytorch/test_parallel_cross_entropy.py || FAIL=1
NVTE_DEBUG=1 NVTE_DEBUG_LEVEL=1 pytest -o log_cli=true --log-cli-level=INFO -v -s $TE_PATH/tests/pytorch/fused_attn/test_fused_attn.py || FAIL=1
pytest -v -s ${LIGHTNING_THUNDER_PATH}/thunder/tests/test_transformer_engine_executor.py
exit $FAIL
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment