Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -45,7 +45,8 @@ ENV PATH =/opt/aws/neuron/bin:$PATH
|
|
| 45 |
|
| 46 |
ARG OPTIMUM_NEURON_BRANCH=main
|
| 47 |
RUN git clone --branch $OPTIMUM_NEURON_BRANCH https://github.com/huggingface/optimum-neuron.git /tmp/optimum-neuron && \
|
| 48 |
-
pip install --no-cache-dir "
|
|
|
|
| 49 |
|
| 50 |
# End Neuron setup
|
| 51 |
RUN pip install --no-cache-dir pip -U && \
|
|
|
|
| 45 |
|
| 46 |
ARG OPTIMUM_NEURON_BRANCH=main
|
| 47 |
RUN git clone --branch $OPTIMUM_NEURON_BRANCH https://github.com/huggingface/optimum-neuron.git /tmp/optimum-neuron && \
|
| 48 |
+
pip install --no-cache-dir "/tmp/optimum-neuron[neuronx]" && \
|
| 49 |
+
rm -rf /tmp/optimum-neuron
|
| 50 |
|
| 51 |
# End Neuron setup
|
| 52 |
RUN pip install --no-cache-dir pip -U && \
|