Skip to content

Commit

Permalink
using image with pytoch pre-installed
Browse files Browse the repository at this point in the history
  • Loading branch information
NiftyliuS committed Jan 27, 2024
1 parent 027b71f commit e6cc84f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM python:3.10-slim
FROM pytorch/pytorch:2.1.0-cuda11.8-cudnn8-runtime

# Install system dependencies
RUN apt-get update

# Install PyTorch
RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
# Install PyTorch manually
# RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

# Create a cache directory
RUN mkdir ./cache
Expand Down

0 comments on commit e6cc84f

Please sign in to comment.