Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -5
Dockerfile
CHANGED
@@ -83,14 +83,13 @@ RUN conda install -y \
|
|
83 |
conda clean -ya
|
84 |
|
85 |
# Install PyTorch nightly version
|
86 |
-
|
87 |
-
|
88 |
|
89 |
# Install vllm and huggingface-hub
|
90 |
-
|
91 |
-
|
92 |
|
93 |
-
RUN pip install vllm
|
94 |
|
95 |
# Expose port for the model server
|
96 |
EXPOSE 7860
|
|
|
83 |
conda clean -ya
|
84 |
|
85 |
# Install PyTorch nightly version
|
86 |
+
RUN pip install --upgrade pip && \
|
87 |
+
pip install --no-cache-dir --pre torch==2.6.0.dev20241122 --index-url https://download.pytorch.org/whl/nightly/rocm6.2
|
88 |
|
89 |
# Install vllm and huggingface-hub
|
90 |
+
RUN pip install vllm && \
|
91 |
+
pip install huggingface-hub[cli]
|
92 |
|
|
|
93 |
|
94 |
# Expose port for the model server
|
95 |
EXPOSE 7860
|