Skip to content

Commit

Permalink
use ubuntu20.04 images
Browse files Browse the repository at this point in the history
 * fix cmake version: default cmake version of ubuntu20.04 is too low
  • Loading branch information
wkpark committed Feb 15, 2024
1 parent 162c998 commit aaa2dcc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,12 @@ jobs:
[[ "${{ matrix.os }}" = windows-* ]] && python3 -m pip install ninja
for NO_CUBLASLT in ON OFF; do
if [ ${build_os:0:6} == ubuntu ]; then
image=nvidia/cuda:${{ matrix.cuda_version }}-devel-ubuntu22.04
image=nvidia/cuda:${{ matrix.cuda_version }}-devel-ubuntu20.04
echo "Using image $image"
docker run --platform linux/$build_arch -i -w /src -v $PWD:/src $image sh -c \
"apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cmake \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3 python3-pip \
&& pip install cmake==3.27.9 \
&& cmake -DCOMPUTE_BACKEND=cuda -DUSE_CUDA_WRAPPER=ON -DNO_CUBLASLT=${NO_CUBLASLT} . \
&& cmake --build ."
else
Expand Down

0 comments on commit aaa2dcc

Please sign in to comment.