@@ -3,10 +3,8 @@ FROM ghcr.io/actions/actions-runner:latest
33ENV CXX=clang++
44
55RUN sudo apt-get update -y \
6- && sudo apt-get install -y software-properties-common \
7- && sudo add-apt-repository -y ppa:git-core/ppa \
8- && sudo apt-get update -y \
96 && sudo apt-get install -y --no-install-recommends \
7+ software-properties-common \
108 curl \
119 ca-certificates \
1210 git \
@@ -20,46 +18,47 @@ RUN sudo apt-get update -y \
2018 lld \
2119 wget \
2220 psmisc \
23- python3.10-venv \
21+ python3-venv \
22+ python3-pip \
23+ python3-setuptools \
24+ python3-wheel \
25+ python3-dev \
2426 && sudo rm -rf /var/lib/apt/lists/*
2527
26- RUN sudo apt-get update && sudo apt-get install -y python3.10 python3-pip python-is-python3 python3-setuptools python3-wheel libpython3.10
27-
2828RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash && \
2929 sudo apt-get install git-lfs
3030
3131RUN sudo groupadd -g 109 render
3232
3333RUN sudo apt update -y \
34- && sudo apt install -y "linux-headers-$(uname -r)" "linux-modules-extra-$(uname -r)" \
3534 && sudo usermod -a -G render,video runner \
36- && wget https://repo.radeon.com/amdgpu-install/7.1/ubuntu/jammy /amdgpu-install_7.1.70100-1_all.deb \
35+ && wget https://repo.radeon.com/amdgpu-install/7.1/ubuntu/noble /amdgpu-install_7.1.70100-1_all.deb \
3736 && sudo apt install -y ./amdgpu-install_7.1.70100-1_all.deb \
3837 && sudo apt update -y \
3938 && sudo apt install -y rocm
4039
4140ENV ROCM_PATH=/opt/rocm
4241
43- RUN sudo pip install --upgrade pip
42+ RUN sudo pip install --break-system-packages -- upgrade pip
4443
45- RUN sudo pip install --no-cache-dir torch==2.10.0+rocm7.1 --index-url https://download.pytorch.org/whl/rocm7.1
44+ RUN sudo pip install --break-system-packages -- no-cache-dir torch==2.10.0+rocm7.1 --index-url https://download.pytorch.org/whl/rocm7.1
4645
4746RUN git clone --recursive https://github.com/ROCm/aiter.git \
4847 && cd aiter \
4948 && git checkout f3be04a12a0cfd6b5e2c7a94edc774f1bc24460d \
50- && sudo pip install -r requirements.txt \
49+ && sudo pip install --break-system-packages - r requirements.txt \
5150 && sudo python3 setup.py develop
5251
5352RUN sudo mkdir -p /home/runner/aiter/aiter/jit/build \
5453 && sudo chown -R runner:runner /home/runner/aiter/aiter/jit/build
5554
56- RUN sudo pip install \
55+ RUN sudo pip install --break-system-packages \
5756 ninja \
5857 numpy \
5958 packaging \
6059 wheel \
6160 tinygrad
6261
63- RUN sudo pip install git+https://github.com/ROCm/iris.git
62+ RUN sudo pip install --break-system-packages git+https://github.com/ROCm/iris.git
6463
6564ENV LD_LIBRARY_PATH="/opt/rocm/lib"
0 commit comments