Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -43,8 +43,10 @@ RUN apt-get update && apt-get install -y \
|
|
| 43 |
|
| 44 |
ENV PATH =/opt/aws/neuron/bin:$PATH
|
| 45 |
|
| 46 |
-
ARG
|
| 47 |
-
RUN pip install --extra-index-url https://pip.repos.neuron.amazonaws.com --no-cache-dir
|
|
|
|
|
|
|
| 48 |
# End Neuron setup
|
| 49 |
RUN pip install --no-cache-dir pip -U && \
|
| 50 |
pip install --no-cache-dir \
|
|
|
|
| 43 |
|
| 44 |
ENV PATH =/opt/aws/neuron/bin:$PATH
|
| 45 |
|
| 46 |
+
# Remove the ARG and PyPI install, replace with GitHub install
|
| 47 |
+
RUN pip install --extra-index-url https://pip.repos.neuron.amazonaws.com --no-cache-dir \
|
| 48 |
+
"optimum-neuron[neuronx] @ git+https://github.com/huggingface/optimum-neuron.git@cpu-compilation"
|
| 49 |
+
|
| 50 |
# End Neuron setup
|
| 51 |
RUN pip install --no-cache-dir pip -U && \
|
| 52 |
pip install --no-cache-dir \
|