File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: Docker build
22
33on :
44 push :
5- branches :
6- - main
5+ # branches:
6+ # - main
77 pull_request :
88 workflow_dispatch :
99
Original file line number Diff line number Diff line change @@ -11,12 +11,11 @@ COPY pytorch.yml pytorch.yml
1111RUN mamba env update -n base --file pytorch.yml \
1212 && conda clean -afy \
1313 && mamba uninstall -y pytorch torchvision \
14- && mamba install -y -n base -c pytorch -c nvidia -c conda-forge \
14+ && mamba install -y -n base -c conda-forge \
1515 "cudatoolkit=${CUDA_VER%.*}.*" \
1616 "cuda-version=${CUDA_VER%.*}.*" \
17- pytorch \
18- torchvision \
19- "pytorch-cuda=${CUDA_VER%.*}.*" \
17+ pytorch-gpu \
18+ torchvision
2019 && conda clean -afy \
2120 && rm pytorch.yml
2221
You can’t perform that action at this time.
0 commit comments