mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
CUDA 9 (#5194)
This commit is contained in:
committed by
Soumith Chintala
parent
4ed87e3c9e
commit
2fd8e596b6
@ -25,7 +25,7 @@ RUN curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-la
|
||||
/opt/conda/bin/conda create -y --name pytorch-py$PYTHON_VERSION python=$PYTHON_VERSION numpy pyyaml scipy ipython mkl&& \
|
||||
/opt/conda/bin/conda clean -ya
|
||||
ENV PATH /opt/conda/envs/pytorch-py$PYTHON_VERSION/bin:$PATH
|
||||
RUN conda install --name pytorch-py$PYTHON_VERSION -c soumith magma-cuda80
|
||||
RUN conda install --name pytorch-py$PYTHON_VERSION -c soumith magma-cuda90
|
||||
# This must be done before pip so that requirements.txt is available
|
||||
WORKDIR /opt/pytorch
|
||||
COPY . .
|
||||
|
Reference in New Issue
Block a user