Skip to content

Commit

Permalink
fix torch version for test
Browse files Browse the repository at this point in the history
  • Loading branch information
q10 committed Nov 30, 2024
1 parent 57757e0 commit ac2bfce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fbgemm_gpu_ci_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:

# Install via PIP to avoid defaulting to the CPU variant if the GPU variant of the day is not ready
- name: Install PyTorch Nightly
run: . $PRELUDE; install_pytorch_pip $BUILD_ENV nightly cuda/${{ matrix.cuda-version }}
run: . $PRELUDE; install_pytorch_pip $BUILD_ENV nightly/2.6.0.dev20241127 cuda/${{ matrix.cuda-version }}

- name: Collect PyTorch Environment Info
if: ${{ success() || failure() }}
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:

# Install via PIP to avoid defaulting to the CPU variant if the GPU variant of the day is not ready
- name: Install PyTorch Nightly
run: . $PRELUDE; install_pytorch_pip $BUILD_ENV nightly cuda/${{ matrix.cuda-version }}
run: . $PRELUDE; install_pytorch_pip $BUILD_ENV nightly/2.6.0.dev20241127 cuda/${{ matrix.cuda-version }}

- name: Collect PyTorch Environment Info
if: ${{ success() || failure() }}
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/GpuCppLibrary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function(gpu_cpp_library)
# https://stackoverflow.com/questions/43330165/how-to-link-a-shared-library-with-cmake-with-relative-path
# https://stackoverflow.com/questions/57915564/cmake-how-to-set-rpath-to-origin-with-cmake
# https://stackoverflow.com/questions/58360502/how-to-set-rpath-origin-in-cmake
INSTALL_RPATH "\$ORIGIN:\$ORIGIN/fbgemm_gpu:.")
INSTALL_RPATH "\$ORIGIN")
endif()

# Collect external libraries for linking
Expand Down

0 comments on commit ac2bfce

Please sign in to comment.