We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb99012 commit 309acddCopy full SHA for 309acdd
.github/workflows/docker.yml
@@ -2,8 +2,8 @@ name: Docker build
2
3
on:
4
push:
5
- branches:
6
- - main
+ # branches:
+ # - main
7
pull_request:
8
workflow_dispatch:
9
Dockerfile
@@ -10,14 +10,6 @@ WORKDIR /home
10
COPY pytorch.yml pytorch.yml
11
RUN mamba env update -n base --file pytorch.yml \
12
&& 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 \
21
&& rm pytorch.yml
22
23
0 commit comments