Spaces:
Running
on
T4
Running
on
T4
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
# Use an official PyTorch image with CUDA support as the base image
|
2 |
FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime
|
3 |
|
|
|
|
|
|
|
4 |
# Install Git and system libraries required for OpenGL without interactive prompts
|
5 |
ENV DEBIAN_FRONTEND=noninteractive
|
6 |
|
|
|
1 |
# Use an official PyTorch image with CUDA support as the base image
|
2 |
FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime
|
3 |
|
4 |
+
# Set the CUDA_HOME environment variable
|
5 |
+
ENV CUDA_HOME=/usr/local/cuda
|
6 |
+
|
7 |
# Install Git and system libraries required for OpenGL without interactive prompts
|
8 |
ENV DEBIAN_FRONTEND=noninteractive
|
9 |
|