File tree Expand file tree Collapse file tree
.github/unittest/linux_libs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ conda deactivate && conda activate ./env
2222# this workflow only tests the libs
2323python -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
2727coverage combine -q
2828coverage xml -i
Original file line number Diff line number Diff line change @@ -21,3 +21,4 @@ dependencies:
2121 - hydra-core
2222 - jumanji
2323 - gymnasium<1.0.0
24+ - requests
Original file line number Diff line number Diff 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
2121export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$lib_dir
2222export 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
2428export 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
3034python -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
3337coverage combine -q
3438coverage xml -i
You can’t perform that action at this time.
0 commit comments