badaoui HF Staff commited on
Commit
867ee4a
·
verified ·
1 Parent(s): 46d4b4c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 OPTIMUM_NEURON_VERSION=0.3.0
47
- RUN pip install --extra-index-url https://pip.repos.neuron.amazonaws.com --no-cache-dir optimum-neuron[neuronx]==$OPTIMUM_NEURON_VERSION
 
 
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 \