File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 8484 python3.10 -m pip install ninja pytest pytest-benchmark mujoco dm_control "gym[accept-rom-license,atari]" transformers
8585 python -m pip install "pybind11[global]"
8686 python3.10 -m pip install git+https://github.com/pytorch/tensordict
87- python3.10 -m pip install safetensors tqdm pandas numpy matplotlib
87+ python3.10 -m pip install safetensors tqdm pandas numpy matplotlib ray
8888 python3.10 setup.py develop
8989
9090 # test import
Original file line number Diff line number Diff line change 7979 ${{ matrix.device == 'CPU' && 'export CUDA_VISIBLE_DEVICES=' || '' }}
8080
8181 python3.10 -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu128 -U
82- python3.10 -m pip install ninja pytest pytest-benchmark mujoco dm_control "gym[accept-rom-license,atari]" transformers
82+ python3.10 -m pip install ninja pytest pytest-benchmark mujoco dm_control "gym[accept-rom-license,atari]" transformers ray
8383 python3.10 -m pip install "pybind11[global]"
8484 python3.10 -m pip install git+https://github.com/pytorch/tensordict
8585 python3.10 -m pip install safetensors tqdm pandas numpy matplotlib
Original file line number Diff line number Diff line change 1616
1717_has_transformers = importlib .import_module ("transformers" ) is not None
1818
19+ # Skip all these tests if gpu is not available
20+ pytestmark = pytest .mark .skipif (
21+ not torch .cuda .is_available (), reason = "GPU not available"
22+ )
23+
1924
2025@pytest .fixture (scope = "module" )
2126def transformers_wrapper ():
You can’t perform that action at this time.
0 commit comments