We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca5f79c commit 8b63640Copy full SHA for 8b63640
dockerfiles/pytorch/neuronx.sh
@@ -23,11 +23,17 @@ apt-get update -y \
23
24
pip install -U pip
25
26
-pip3 install neuronx-cc==2.* \
27
- torch-neuronx==2.* \
28
- transformers-neuronx\
+# Taken from optimum neuron, tgi dockerfile
+pip3 install \
+ neuronx-cc==2.13.66.0 \
29
+ torch-neuronx==2.1.2.2.1.0 \
30
+ transformers-neuronx==0.10.0.21 \
31
--extra-index-url=https://pip.repos.neuron.amazonaws.com
32
33
pip3 install --extra-index-url=https://pip.repos.neuron.amazonaws.com optimum[neuronx,diffusers]
34
35
pip install ".[st,torch-neuronx]"
36
+
37
+apt-get clean autoremove --yes
38
39
+rm -rf /var/lib/{apt,cache,log} fi
0 commit comments