File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ RUN pip3 install pip --upgrade \
3030 && ldconfig \
3131 && pip cache purge
3232
33+ # PyTorch
3334RUN mkdir -p /wheels \
34- # PyTorch
3535 && git clone -b ${TORCHVER} https://github.com/pytorch/pytorch.git \
3636 && cd pytorch \
3737 && git submodule update --init --recursive \
@@ -46,8 +46,8 @@ RUN mkdir -p /wheels \
4646 && cd .. \
4747 && rm -rf /pytorch
4848
49- RUN # TorchVision
50- git clone -b ${TORCHVISIONVER} https://github.com/pytorch/vision.git \
49+ # TorchVision
50+ RUN git clone -b ${TORCHVISIONVER} https://github.com/pytorch/vision.git \
5151 && cd vision \
5252 && git submodule update --init --recursive \
5353 && pip3 install /pytorch/dist/*.whl \
@@ -57,8 +57,8 @@ RUN # TorchVision
5757 && cd .. \
5858 && rm -rf /vision
5959
60- RUN # TorchAudio
61- git clone -b ${TORCHAUDIOVER} https://github.com/pytorch/audio.git \
60+ # TorchAudio
61+ RUN git clone -b ${TORCHAUDIOVER} https://github.com/pytorch/audio.git \
6262 && cd audio \
6363 && git submodule update --init --recursive \
6464 && python3 setup.py build \
You can’t perform that action at this time.
0 commit comments