Skip to content

Commit

Permalink
chore(tgi): use AWS Neuron SDK 2.18
Browse files Browse the repository at this point in the history
  • Loading branch information
dacorvo committed Apr 2, 2024
1 parent 78435de commit e841333
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions text-generation-inference/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,19 @@ RUN wget -qO - https://apt.repos.neuron.amazonaws.com/GPG-PUB-KEY-AMAZON-AWS-NEU
# Install neuronx packages
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends \
aws-neuronx-dkms=2.15.9.0 \
aws-neuronx-collectives=2.20.11.0-c101c322e \
aws-neuronx-runtime-lib=2.20.11.0-b7d33e68b \
aws-neuronx-tools=2.17.0.0 \
aws-neuronx-dkms=2.16.7.0 \
aws-neuronx-collectives=2.20.22.0-c101c322e \
aws-neuronx-runtime-lib=2.20.22.0-1b3ca6425 \
aws-neuronx-tools=2.17.1.0 \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean

ENV PATH="/opt/bin/:/opt/aws/neuron/bin:${PATH}"

RUN pip3 install \
neuronx-cc==2.12.68.0 \
torch-neuronx==1.13.1.1.13.1 \
transformers-neuronx==0.9.474 \
neuronx-cc==2.13.66.0 \
torch-neuronx==1.13.1.1.14.0 \
transformers-neuronx==0.10.0.21 \
--extra-index-url=https://pip.repos.neuron.amazonaws.com

# Install HuggingFace packages
Expand Down

0 comments on commit e841333

Please sign in to comment.