badaoui HF Staff commited on
Commit
ec02103
·
verified ·
1 Parent(s): 5964425

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 ".[neuronx]" /tmp/optimum-neuron
 
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 && \