File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
L0_jax_distributed_unittest Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
+ #
3
+ # See LICENSE for license information.
4
+
5
+ set -xe
6
+
7
+ : ${TE_PATH:=/ opt/ transformerengine}
8
+
9
+ pip install -r $TE_PATH /examples/jax/encoder/requirements.txt
10
+
11
+ # Make encoder tests to have run-to-run deterministic to have the stable CI results
12
+ export XLA_FLAGS=" ${XLA_FLAGS} --xla_gpu_deterministic_ops"
13
+ pytest -c $TE_PATH /tests/jax/pytest.ini -v $TE_PATH /examples/jax/encoder/test_multigpu_encoder.py
14
+ pytest -c $TE_PATH /tests/jax/pytest.ini -v $TE_PATH /examples/jax/encoder/test_model_parallel_encoder.py
15
+ pytest -c $TE_PATH /tests/jax/pytest.ini -v $TE_PATH /examples/jax/encoder/test_multiprocessing_encoder.py
16
+
Original file line number Diff line number Diff line change @@ -20,5 +20,4 @@ pytest -c $TE_PATH/tests/jax/pytest.ini -v $TE_PATH/examples/jax/mnist
20
20
21
21
# Make encoder tests to have run-to-run deterministic to have the stable CI results
22
22
export XLA_FLAGS=" ${XLA_FLAGS} --xla_gpu_deterministic_ops"
23
- pytest -c $TE_PATH /tests/jax/pytest.ini -v $TE_PATH /examples/jax/encoder --ignore=$TE_PATH /examples/jax/encoder/test_multiprocessing_encoder.py
24
- pytest -c $TE_PATH /tests/jax/pytest.ini -v $TE_PATH /examples/jax/encoder/test_multiprocessing_encoder.py
23
+ pytest -c $TE_PATH /tests/jax/pytest.ini -v $TE_PATH /examples/jax/encoder/test_single_gpu_encoder.py
You can’t perform that action at this time.
0 commit comments