debug_app_config.yaml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. base_image: {{ env["RAY_IMAGE_ML_NIGHTLY_GPU"] }}
  2. env_vars: {"LD_LIBRARY_PATH": "$LD_LIBRARY_PATH:/home/ray/.mujoco/mujoco210/bin", "RLLIB_TEST_NO_JAX_IMPORT": "1"}
  3. debian_packages:
  4. - unzip
  5. - zip
  6. # Needed to run MuJoCo with gymnasium.
  7. - libosmesa6-dev
  8. - libgl1-mesa-glx
  9. - libglfw3
  10. - patchelf
  11. # End: MuJoCo.
  12. python:
  13. pip_packages:
  14. ## These dependencies should be handled by rllib-requirements.txt
  15. ## and removed here
  16. - gymnasium==0.28.1
  17. - imageio==2.31.1
  18. - ale-py==0.8.1
  19. - mujoco==2.3.6
  20. # AutoROM downloads ROMs via torrent when they are built. The torrent is unreliable,
  21. # so we built it for py3 and use that instead. This wheel was tested for python 3.7, 3.8,
  22. # and 3.9.
  23. - https://ray-ci-deps-wheels.s3.us-west-2.amazonaws.com/AutoROM.accept_rom_license-0.5.4-py3-none-any.whl
  24. - pytest
  25. conda_packages: []
  26. post_build_cmds:
  27. - pip3 uninstall -y ray || true && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
  28. # TODO(https://github.com/ray-project/ray/issues/34591)
  29. - pip3 install --force-reinstall -U https://s3-us-west-2.amazonaws.com/ray-wheels/env["RAY_TEST_BRANCH"]/env["RAY_COMMIT_OF_WHEEL"]/ray-3.0.0.dev0%2Bdebug-cp37-cp37m-manylinux2014_x86_64.whl
  30. - {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}
  31. # Clone the rl-experiments repo for offline-RL files.
  32. - git clone https://github.com/ray-project/rl-experiments.git
  33. - unzip rl-experiments/halfcheetah-sac/2022-12-17/halfcheetah_1500_mean_reward_sac.zip -d ~/.
  34. # Use torch+CUDA10.2 for our release tests. CUDA11.x has known performance issues in combination with torch+GPU+CNNs
  35. # TODO(sven): remove once nightly image gets upgraded.
  36. - pip3 install torch==1.12.1+cu102 torchvision==0.13.1+cu102 --extra-index-url https://download.pytorch.org/whl/cu102
  37. # TODO(sven): remove once nightly image gets gymnasium and the other new dependencies.
  38. - wget https://mujoco.org/download/mujoco210-linux-x86_64.tar.gz
  39. - mkdir ~/.mujoco
  40. - mv mujoco210-linux-x86_64.tar.gz ~/.mujoco/.
  41. - cd ~/.mujoco
  42. - tar -xf ~/.mujoco/mujoco210-linux-x86_64.tar.gz
  43. # not strictly necessary, but makes debugging easier
  44. - git clone https://github.com/ray-project/ray.git