This project sets up a Docker environment for PyTorch with CUDA 12.1.1 support.
237
This project sets up a Docker environment for PyTorch with CUDA 12.1.1 support. It consists of:
The setup allows for GPU-accelerated PyTorch development in a containerized environment.
To use this image as a base for your PyTorch application. Create a new Dockerfile in your project:
FROM sanglu/torch:cuda-12.1.1
# Copy your application files
COPY . /app
WORKDIR /app
# Install additional dependencies if needed
RUN pip install -r requirements.txt
# Override the entrypoint with your application
ENTRYPOINT ["python3", "your_script.py"]
Content type
Image
Digest
sha256:39c34baef…
Size
12.2 GB
Last updated
over 1 year ago
docker pull sanglu/torch:cuda-12.8.1