Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
|
@@ -43,10 +43,9 @@ RUN apt-get update && apt-get install -y \
|
|
| 43 |
|
| 44 |
ENV PATH =/opt/aws/neuron/bin:$PATH
|
| 45 |
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
optimum-neuron[neuronx]
|
| 50 |
|
| 51 |
# End Neuron setup
|
| 52 |
RUN pip install --no-cache-dir pip -U && \
|
|
|
|
| 43 |
|
| 44 |
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 ".[neuronx]" /tmp/optimum-neuron
|
|
|
|
| 49 |
|
| 50 |
# End Neuron setup
|
| 51 |
RUN pip install --no-cache-dir pip -U && \
|