Skip to content

Commit 309acdd

Browse files
committed
Fixup gpu docker?
1 parent eb99012 commit 309acdd

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Docker build
22

33
on:
44
push:
5-
branches:
6-
- main
5+
# branches:
6+
# - main
77
pull_request:
88
workflow_dispatch:
99

Dockerfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ WORKDIR /home
1010
COPY pytorch.yml pytorch.yml
1111
RUN mamba env update -n base --file pytorch.yml \
1212
&& conda clean -afy \
13-
&& mamba uninstall -y pytorch torchvision \
14-
&& mamba install -y -n base -c pytorch -c nvidia -c conda-forge \
15-
"cudatoolkit=${CUDA_VER%.*}.*" \
16-
"cuda-version=${CUDA_VER%.*}.*" \
17-
pytorch \
18-
torchvision \
19-
"pytorch-cuda=${CUDA_VER%.*}.*" \
20-
&& conda clean -afy \
2113
&& rm pytorch.yml
2214

2315

0 commit comments

Comments
 (0)