Skip to content

patch HF PR Inference 1.13 neuronx #4363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@ ARG TRANSFORMERS_VERSION
ARG DIFFUSERS_VERSION=0.25.1
ARG OPTIMUM_NEURON_VERSION=0.0.18
ARG SENTENCE_TRANSFORMERS=2.2.2
ARG HUGGINGFACE_HUB_VERSION=0.25.2

# See http://bugs.python.org/issue19846
ENV LANG C.UTF-8
@@ -62,9 +63,9 @@ RUN apt-get update \
zlib1g-dev \
libcap-dev \
gpg-agent \
libarchive13 \
expat \
libexpat1 \
libarchive13 \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/tmp* \
&& apt-get clean
@@ -176,6 +177,7 @@ RUN pip install --no-cache-dir \
transformers[sentencepiece,audio,vision]==${TRANSFORMERS_VERSION} \
diffusers==${DIFFUSERS_VERSION} \
optimum-neuron==${OPTIMUM_NEURON_VERSION} \
huggingface_hub==${HUGGINGFACE_HUB_VERSION} \
sentence_transformers==${SENTENCE_TRANSFORMERS} \
"sagemaker-huggingface-inference-toolkit<3"

Loading