Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -48,7 +48,10 @@ ARG OPTIMUM_NEURON_BRANCH=cpu-compilation
|
|
| 48 |
ARG OPTIMUM_NEURON_REPO=https://github.com/huggingface/optimum-neuron.git
|
| 49 |
|
| 50 |
# Install from your branch
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
RUN pip install --no-cache-dir pip -U && \
|
| 54 |
pip install --no-cache-dir \
|
|
|
|
| 48 |
ARG OPTIMUM_NEURON_REPO=https://github.com/huggingface/optimum-neuron.git
|
| 49 |
|
| 50 |
# Install from your branch
|
| 51 |
+
# install the branch
|
| 52 |
+
RUN pip install --no-cache-dir "git+https://github.com/huggingface/optimum-neuron.git@cpu-compilation#egg=optimum-neuron"
|
| 53 |
+
# add the extras
|
| 54 |
+
RUN pip install --no-cache-dir "optimum-neuron[neuronx]"
|
| 55 |
|
| 56 |
RUN pip install --no-cache-dir pip -U && \
|
| 57 |
pip install --no-cache-dir \
|