Skip to content

Commit 5691969

Browse files
Merge branch 'main' of https://github.com/pytorch/rl into fix/multisync
2 parents 1f6f327 + a4c0e89 commit 5691969

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/unittest/linux_libs/scripts_chess/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ conda deactivate && conda activate ./env
2222
# this workflow only tests the libs
2323
python -c "import chess"
2424

25-
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_env.py --instafail -v --durations 200 --capture no -k TestChessEnv --error-for-skips --runslow
25+
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_envs.py --instafail -v --durations 200 --capture no -k TestChessEnv --error-for-skips --runslow
2626

2727
coverage combine -q
2828
coverage xml -i

.github/unittest/linux_libs/scripts_jumanji/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ dependencies:
2121
- hydra-core
2222
- jumanji
2323
- gymnasium<1.0.0
24+
- requests

.github/unittest/linux_libs/scripts_jumanji/run_test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ lib_dir="${env_dir}/lib"
2020
# solves ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found
2121
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$lib_dir
2222
export MKL_THREADING_LAYER=GNU
23+
# Limit threading to avoid resource exhaustion (pthread_create failures)
24+
export OMP_NUM_THREADS=1
25+
export MKL_NUM_THREADS=1
26+
export XLA_FLAGS="--xla_force_host_platform_device_count=1"
2327
# more logging
2428
export MAGNUM_LOG=verbose MAGNUM_GPU_VALIDATION=ON
2529

@@ -29,6 +33,6 @@ export MAGNUM_LOG=verbose MAGNUM_GPU_VALIDATION=ON
2933
# this workflow only tests the libs
3034
python -c "import jumanji"
3135

32-
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestJumanji --error-for-skips --runslow
36+
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k "TestJumanji and not test_jumanji_batch_unlocked" --error-for-skips --runslow
3337
coverage combine -q
3438
coverage xml -i

0 commit comments

Comments
 (0)