Skip to content

Commit

Permalink
Trigger Build
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental committed Dec 17, 2024
1 parent 7f95e5e commit f2c435b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/build_zoom_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
matrix:
include:
- name: "ubuntu-22.04"
runs-on: "nodai-amdgpu-mi250-x86-64"
runs-on: "mi300"
# container: "rocm/pytorch:rocm6.2.3_ubuntu22.04_py3.10_pytorch_release_2.3.0"
# runs-on: "nod-ai-shared-cpubuilder-manylinux-x86_64"

Expand Down Expand Up @@ -71,22 +71,6 @@ jobs:
key: ${{ env.CACHE_KEY }}
restore-keys: linux-build-test-cpp-

# - name: "Setup ROCm"
# id: rocm
# run: |

# tee --append /etc/yum.repos.d/rocm.repo <<EOF
# [ROCm-6.3]
# name=ROCm6.3
# baseurl=https://repo.radeon.com/rocm/el8/6.3/main
# enabled=1
# priority=50
# gpgcheck=1
# gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
# EOF
# dnf clean all
# dnf install -y rocm hipblas-common-devel hip-devel

- name: "Build PyTorch"
id: build
run: |
Expand All @@ -95,6 +79,9 @@ jobs:
export CMAKE_C_COMPILER_LAUNCHER=ccache
export CMAKE_CXX_COMPILER_LAUNCHER=ccache
export CCACHE_SLOPPINESS=include_file_ctime,include_file_mtime,time_macros
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
./build.sh
Expand All @@ -112,6 +99,18 @@ jobs:
path: dist
if-no-files-found: warn

- name: Release current commit
uses: ncipollo/[email protected]
with:
artifacts: "dist/*.whl"
token: "${{ secrets.GITHUB_TOKEN }}"
tag: "latest"
name: "latest"
removeArtifacts: false
allowUpdates: true
replacesArtifacts: true
makeLatest: true

- name: "Setup tmate session"
if: ${{ (failure() && inputs.debug_with_tmate) || inputs.force_debug_with_tmate }}
uses: mxschmitt/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ if(USE_ROCM OR USE_ZOOM)
${PYTORCH_HIP_LIBRARIES} ${PYTORCH_MIOPEN_LIBRARIES}
# ${hipcub_LIBRARIES}
${ROCM_HIPRTC_LIB} ${ROCM_ROCTX_LIB})
list(APPEND Caffe2_PUBLIC_HIP_DEPENDENCY_LIBS ${hipblaslt_LIBRARIES})
# list(APPEND Caffe2_PUBLIC_HIP_DEPENDENCY_LIBS ${hipblaslt_LIBRARIES})

# list(APPEND Caffe2_PUBLIC_HIP_DEPENDENCY_LIBS
# roc::hipblas hip::hipfft hip::hiprand roc::hipsparse roc::hipsolver)
Expand Down

0 comments on commit f2c435b

Please sign in to comment.