File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ FROM ghcr.io/actions/actions-runner:latest
22
33ENV CXX=clang++
44
5+ ARG GPU_ARCH="gfx950"
6+ ENV GPU_ARCH_LIST=$GPU_ARCH
7+
58RUN sudo apt-get update -y \
69 && sudo apt-get install -y --no-install-recommends \
710 software-properties-common \
@@ -41,11 +44,13 @@ ENV ROCM_PATH=/opt/rocm
4144
4245RUN sudo pip install --break-system-packages --no-cache-dir torch==2.10.0+rocm7.1 --index-url https://download.pytorch.org/whl/rocm7.1
4346
47+ ARG PREBUILD_KERNELS=1
48+
4449RUN git clone --recursive https://github.com/ROCm/aiter.git \
4550 && cd aiter \
4651 && git checkout f3be04a12a0cfd6b5e2c7a94edc774f1bc24460d \
4752 && sudo pip install --break-system-packages -r requirements.txt \
48- && sudo python3 setup.py develop
53+ && sudo MAX_JOBS=64 PREBUILD_KERNELS=$PREBUILD_KERNELS GPU_ARCHS=$GPU_ARCH_LIST python3 setup.py develop
4954
5055RUN sudo mkdir -p /home/runner/aiter/aiter/jit/build \
5156 && sudo chown -R runner:runner /home/runner/aiter/aiter/jit/build
You can’t perform that action at this time.
0 commit comments