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 d3cd450
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 22 deletions.
37 changes: 16 additions & 21 deletions .github/workflows/build_zoom_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ on:
- main

concurrency:
# A PR number if a pull request and otherwise the commit hash. This cancels
# queued and in-progress runs for the same PR (presubmit) or commit
# (postsubmit). The workflow name is prepended to avoid conflicts between
# different workflows.
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

Expand All @@ -34,7 +30,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 +67,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 +75,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 +95,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 d3cd450

Please sign in to comment.