-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Try to fix CI on Linux * Don't install POCL on Mac * Don't install khronos-opencl-icd-loader * Update OpenMM version * Updated tested versions * Fixed version number * Install correct packages for CUDA 12 * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Try different method of installing CUDA * Try not installing CUDA packages from conda * Debugging * Debugging * Debugging * Debugging * Debugging * Don't build OpenCL on Mac * Don't try to run tests that can't run correctly * Update C++ version and minimum macOS version * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Fixed working directory for tests * Fixes to testing * Try using PyTorch 2.3 * Try using PyTorch 2.2 * Switch back to PyTorch 2.1
- Loading branch information
Showing
7 changed files
with
41 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,24 +22,13 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
# Oldest supported versions | ||
# NOTE: renable CUDA 10.2 when it supported by NNPOps (https://github.com/conda-forge/nnpops-feedstock/pull/8) | ||
- name: Linux (CUDA 11.0, Python 3.7, PyTorch 1.11) | ||
os: ubuntu-22.04 | ||
cuda-version: "11.0.3" | ||
gcc-version: "8.5.*" | ||
nvcc-version: "11.0" | ||
python-version: "3.7" | ||
pytorch-version: "1.11.*" | ||
|
||
# Latest supported versions | ||
- name: Linux (CUDA 11.8, Python 3.10, PyTorch 2.0) | ||
- name: Linux (CUDA 11.8, Python 3.10, PyTorch 2.1) | ||
os: ubuntu-22.04 | ||
cuda-version: "11.8.0" | ||
gcc-version: "10.3.*" | ||
nvcc-version: "11.8" | ||
python-version: "3.10" | ||
pytorch-version: "2.0.*" | ||
pytorch-version: "2.1.*" | ||
|
||
- name: MacOS (Python 3.9, PyTorch 1.9) | ||
os: macos-11 | ||
|
@@ -55,12 +44,36 @@ jobs: | |
uses: actions/checkout@v2 | ||
|
||
- name: "Install CUDA Toolkit on Linux (if needed)" | ||
uses: Jimver/[email protected].10 | ||
uses: Jimver/[email protected].15 | ||
with: | ||
cuda: ${{ matrix.cuda-version }} | ||
linux-local-args: '["--toolkit", "--override"]' | ||
if: startsWith(matrix.os, 'ubuntu') | ||
|
||
- name: Manage disk space | ||
if: startsWith(matrix.os, 'ubuntu') | ||
run: | | ||
sudo mkdir -p /opt/empty_dir || true | ||
for d in \ | ||
/opt/ghc \ | ||
/opt/hostedtoolcache \ | ||
/usr/lib/jvm \ | ||
/usr/local/.ghcup \ | ||
/usr/local/lib/android \ | ||
/usr/local/share/powershell \ | ||
/usr/share/dotnet \ | ||
/usr/share/swift \ | ||
; do | ||
sudo rsync --stats -a --delete /opt/empty_dir/ $d || true | ||
done | ||
sudo apt-get purge -y -f firefox \ | ||
google-chrome-stable \ | ||
microsoft-edge-stable | ||
sudo apt-get autoremove -y >& /dev/null | ||
sudo apt-get autoclean -y >& /dev/null | ||
sudo docker image prune --all --force | ||
df -h | ||
- name: "Install SDK on MacOS (if needed)" | ||
run: source devtools/scripts/install_macos_sdk.sh | ||
if: startsWith(matrix.os, 'macos') | ||
|
@@ -130,7 +143,7 @@ jobs: | |
run: | | ||
export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib/python${{ matrix.python-version }}/site-packages/torch/lib:${LD_LIBRARY_PATH}" | ||
cd build | ||
ctest --output-on-failure --exclude-regex TestCuda | ||
ctest --output-on-failure --exclude-regex "TestCuda|TestOpenCL" | ||
- name: "Run Python test" | ||
shell: bash -l {0} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters