diff --git a/.github/unittest/linux_libs/scripts_gym/batch_scripts.sh b/.github/unittest/linux_libs/scripts_gym/batch_scripts.sh index 11921b44821..9622984a421 100755 --- a/.github/unittest/linux_libs/scripts_gym/batch_scripts.sh +++ b/.github/unittest/linux_libs/scripts_gym/batch_scripts.sh @@ -6,6 +6,7 @@ DIR="$(cd "$(dirname "$0")" && pwd)" set -e +set -v eval "$(./conda/bin/conda shell.bash hook)" conda activate ./env diff --git a/.github/unittest/linux_libs/scripts_gym/install.sh b/.github/unittest/linux_libs/scripts_gym/install.sh old mode 100755 new mode 100644 index c263f20e178..06c91a9610c --- a/.github/unittest/linux_libs/scripts_gym/install.sh +++ b/.github/unittest/linux_libs/scripts_gym/install.sh @@ -7,6 +7,7 @@ unset PYTORCH_VERSION apt-get update && apt-get install -y git wget gcc g++ set -e +set -v eval "$(./conda/bin/conda shell.bash hook)" conda activate ./env @@ -39,12 +40,11 @@ printf "Installing PyTorch with %s\n" "${CU_VERSION}" if [ "${CU_VERSION:-}" == cpu ] ; then conda install pytorch==2.0 torchvision==0.15 cpuonly -c pytorch -y else - conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.8 -c pytorch -c nvidia -y + conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.8 -c pytorch numpy<2.0 numpy-base<2.0 -c nvidia -y fi # Solving circular import: https://stackoverflow.com/questions/75501048/how-to-fix-attributeerror-partially-initialized-module-charset-normalizer-has pip install -U charset-normalizer -pip install "numpy<2.0" # install tensordict if [[ "$RELEASE" == 0 ]]; then diff --git a/.github/workflows/test-linux-habitat.yml b/.github/workflows/test-linux-habitat.yml index 6a1c52f90fa..13fac8201c6 100644 --- a/.github/workflows/test-linux-habitat.yml +++ b/.github/workflows/test-linux-habitat.yml @@ -19,7 +19,7 @@ jobs: tests: strategy: matrix: - python_version: ["3.9"] + python_version: ["3.10"] cuda_arch_version: ["12.1"] fail-fast: false uses: pytorch/test-infra/.github/workflows/linux_job.yml@main