Skip to content

Commit d8622b9

Browse files
authored
use FA 2.8.3 which is compatible with torch 2.8.0 (#3936)
* use FA 2.8.3 * Disable fail-fast in Docker publish workflow * fix * change apt source
1 parent b77f157 commit d8622b9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
runs-on: ubuntu-latest
3737
environment: 'prod'
3838
strategy:
39+
fail-fast: false
3940
matrix:
4041
cuda_version: ['cu12.8', cu12, cu11]
4142
env:
@@ -80,7 +81,7 @@ jobs:
8081
echo $TAG
8182
docker build . -f docker/Dockerfile -t ${TAG} --build-arg CUDA_VERSION=${CUDA_VERSION}
8283
docker push $TAG
83-
- name: Push Docker image latest-cu12 as latest
84+
- name: Push Docker image as latest
8485
if: endsWith(env.TAG, 'latest-cu12') == true
8586
run: |
8687
export latest_TAG=${TAG_PREFIX}:latest

docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ ENV DEBIAN_FRONTEND=noninteractive
2121
ENV TZ=Etc/UTC
2222

2323
RUN --mount=type=cache,target=/root/.cache \
24+
sed -i 's|http://archive.ubuntu.com|http://azure.archive.ubuntu.com|g' /etc/apt/sources.list && \
2425
apt-get update -y && \
2526
apt-get install -y --no-install-recommends \
2627
tzdata wget curl openssh-server ssh sudo git-core \

docker/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash -ex
22

33
export DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC
4+
sed -i 's|http://archive.ubuntu.com|http://azure.archive.ubuntu.com|g' /etc/apt/sources.list
45
apt-get update -y
56
apt-get install -y --no-install-recommends \
67
tzdata wget curl ssh sudo git-core libibverbs1 ibverbs-providers ibverbs-utils librdmacm1 libibverbs-dev rdma-core libmlx5-1
@@ -35,7 +36,7 @@ if [[ "${CUDA_VERSION_SHORT}" = "cu118" ]]; then
3536
FA_VERSION=2.7.3
3637
TORCH_VERSION="<2.7"
3738
else
38-
FA_VERSION=2.8.2
39+
FA_VERSION=2.8.3
3940
TORCH_VERSION=""
4041
fi
4142

0 commit comments

Comments
 (0)