Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion jax/training/0.9.0/Dockerfile.neuronx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@
ENV PYTHONIOENCODING=UTF-8
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/aws/neuron/lib"

Check warning on line 23 in jax/training/0.9.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (0.9.0, jax/training/0.9.0)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/amazon/efa/lib"
ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/amazon/efa/lib64"
ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/amazon/openmpi/lib64"
ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib"
ENV PATH="/opt/aws/neuron/bin:${PATH}"
ENV PATH="${PATH}:/opt/amazon/efa/bin"

RUN apt-get update \
&& apt-get upgrade -y \
Expand Down Expand Up @@ -162,9 +163,9 @@

# Setting up APT and PIP repo for neuron artifacts
ARG NEURON_APT_REPO=apt.repos.neuron.amazonaws.com
ARG NEURON_APT_REPO_KEY

Check warning on line 166 in jax/training/0.9.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (0.9.0, jax/training/0.9.0)

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "NEURON_APT_REPO_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ARG NEURON_PIP_REPO=pip.repos.neuron.amazonaws.com
ARG NEURON_PIP_REPO_KEY

Check warning on line 168 in jax/training/0.9.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (0.9.0, jax/training/0.9.0)

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "NEURON_PIP_REPO_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
RUN mkdir -p /etc/apt/keyrings \
&& APT_REPO_PREFIX=$([ -n "${NEURON_APT_REPO_KEY}" ] && echo "${NEURON_APT_REPO_KEY}@" || echo "") \
&& echo "deb [signed-by=/etc/apt/keyrings/neuron.gpg] https://${APT_REPO_PREFIX}${NEURON_APT_REPO} jammy main" > /etc/apt/sources.list.d/neuron.list \
Expand All @@ -173,7 +174,7 @@
# Neuron SDK components version numbers
ARG NEURONX_RUNTIME_LIB_VERSION=2.33.10.0-3dcef56f0
ARG NEURONX_COLLECTIVES_LIB_VERSION=2.33.10.0-068180c7a
ARG NEURONX_TOOLS_VERSION=2.31.13.0-a9e473f33
ARG NEURONX_TOOLS_VERSION=2.31.15.0-5c7949a6a

ARG NEURONX_CC_VERSION=2.26.6360.0+6f180f47
ARG NEURONX_JAX_TRAINING_VERSION=0.10.0.1.0.10466+f1172f09
Expand Down
3 changes: 2 additions & 1 deletion pytorch/inference/2.9.0/Dockerfile.neuronx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

# See http://bugs.python.org/issue19846
ENV LANG=C.UTF-8
ENV LD_LIBRARY_PATH=/opt/aws/neuron/lib:/lib/x86_64-linux-gnu:/opt/conda/lib/:$LD_LIBRARY_PATH

Check warning on line 19 in pytorch/inference/2.9.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (2.9.0, pytorch/inference/2.9.0)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV PATH=/opt/conda/bin:/opt/aws/neuron/bin:$PATH
ENV PATH="${PATH}:/opt/amazon/efa/bin"

RUN apt-get update \
&& apt-get upgrade -y \
Expand Down Expand Up @@ -170,9 +171,9 @@

# Setting up APT and PIP repo for neuron artifacts
ARG NEURON_APT_REPO=apt.repos.neuron.amazonaws.com
ARG NEURON_APT_REPO_KEY

Check warning on line 174 in pytorch/inference/2.9.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (2.9.0, pytorch/inference/2.9.0)

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "NEURON_APT_REPO_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ARG NEURON_PIP_REPO=pip.repos.neuron.amazonaws.com
ARG NEURON_PIP_REPO_KEY

Check warning on line 176 in pytorch/inference/2.9.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (2.9.0, pytorch/inference/2.9.0)

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "NEURON_PIP_REPO_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
RUN mkdir -p /etc/apt/keyrings \
&& APT_REPO_PREFIX=$([ -n "${NEURON_APT_REPO_KEY}" ] && echo "${NEURON_APT_REPO_KEY}@" || echo "") \
&& echo "deb [signed-by=/etc/apt/keyrings/neuron.gpg] https://${APT_REPO_PREFIX}${NEURON_APT_REPO} jammy main" > /etc/apt/sources.list.d/neuron.list \
Expand All @@ -181,7 +182,7 @@
# Neuron SDK components version numbers
ARG NEURONX_COLLECTIVES_LIB_VERSION=2.33.10.0-068180c7a
ARG NEURONX_RUNTIME_LIB_VERSION=2.33.10.0-3dcef56f0
ARG NEURONX_TOOLS_VERSION=2.31.13.0-a9e473f33
ARG NEURONX_TOOLS_VERSION=2.31.15.0-5c7949a6a

ARG NEURONX_CC_VERSION=2.26.6360.0+6f180f47
ARG NEURONX_FRAMEWORK_VERSION=2.9.0.2.15.32035+de43f57c
Expand Down
3 changes: 2 additions & 1 deletion vllm/inference/0.16.0/Dockerfile.neuronx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@

# See http://bugs.python.org/issue19846
ENV LANG=C.UTF-8
ENV LD_LIBRARY_PATH=/opt/aws/neuron/lib:/lib/x86_64-linux-gnu:/opt/conda/lib/:$LD_LIBRARY_PATH

Check warning on line 18 in vllm/inference/0.16.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (0.16.0, vllm/inference/0.16.0)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV PATH=/opt/conda/bin:/opt/aws/neuron/bin:$PATH
ENV PATH="${PATH}:/opt/amazon/efa/bin"

RUN apt-get update \
&& apt-get upgrade -y \
Expand Down Expand Up @@ -148,9 +149,9 @@

# Setting up APT and PIP repo for neuron artifacts
ARG NEURON_APT_REPO=apt.repos.neuron.amazonaws.com
ARG NEURON_APT_REPO_KEY

Check warning on line 152 in vllm/inference/0.16.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (0.16.0, vllm/inference/0.16.0)

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "NEURON_APT_REPO_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ARG NEURON_PIP_REPO=pip.repos.neuron.amazonaws.com
ARG NEURON_PIP_REPO_KEY

Check warning on line 154 in vllm/inference/0.16.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (0.16.0, vllm/inference/0.16.0)

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "NEURON_PIP_REPO_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
RUN mkdir -p /etc/apt/keyrings \
&& APT_REPO_PREFIX=$([ -n "${NEURON_APT_REPO_KEY}" ] && echo "${NEURON_APT_REPO_KEY}@" || echo "") \
&& echo "deb [signed-by=/etc/apt/keyrings/neuron.gpg] https://${APT_REPO_PREFIX}${NEURON_APT_REPO} jammy main" > /etc/apt/sources.list.d/neuron.list \
Expand All @@ -159,7 +160,7 @@
# Neuron SDK components version numbers
ARG NEURONX_COLLECTIVES_LIB_VERSION=2.33.10.0-068180c7a
ARG NEURONX_RUNTIME_LIB_VERSION=2.33.10.0-3dcef56f0
ARG NEURONX_TOOLS_VERSION=2.31.13.0-a9e473f33
ARG NEURONX_TOOLS_VERSION=2.31.15.0-5c7949a6a

ARG NEURONX_CC_VERSION=2.26.6360.0+6f180f47
ARG NEURONX_FRAMEWORK_VERSION=2.9.0.2.15.32035+de43f57c
Expand Down
3 changes: 2 additions & 1 deletion vllm/inference/0.21.0.1.0.0/Dockerfile.neuronx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@

# See http://bugs.python.org/issue19846
ENV LANG=C.UTF-8
ENV LD_LIBRARY_PATH=/opt/aws/neuron/lib:/lib/x86_64-linux-gnu:/opt/conda/lib/:$LD_LIBRARY_PATH

Check warning on line 18 in vllm/inference/0.21.0.1.0.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (0.21.0.1.0.0, vllm/inference/0.21.0.1.0.0)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV PATH=/opt/conda/bin:/opt/aws/neuron/bin:$PATH
ENV PATH="${PATH}:/opt/amazon/efa/bin"

RUN apt-get update \
&& apt-get upgrade -y \
Expand Down Expand Up @@ -148,9 +149,9 @@

# Setting up APT and PIP repo for neuron artifacts
ARG NEURON_APT_REPO=apt.repos.neuron.amazonaws.com
ARG NEURON_APT_REPO_KEY

Check warning on line 152 in vllm/inference/0.21.0.1.0.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (0.21.0.1.0.0, vllm/inference/0.21.0.1.0.0)

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "NEURON_APT_REPO_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ARG NEURON_PIP_REPO=pip.repos.neuron.amazonaws.com
ARG NEURON_PIP_REPO_KEY

Check warning on line 154 in vllm/inference/0.21.0.1.0.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (0.21.0.1.0.0, vllm/inference/0.21.0.1.0.0)

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "NEURON_PIP_REPO_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
RUN mkdir -p /etc/apt/keyrings \
&& APT_REPO_PREFIX=$([ -n "${NEURON_APT_REPO_KEY}" ] && echo "${NEURON_APT_REPO_KEY}@" || echo "") \
&& echo "deb [signed-by=/etc/apt/keyrings/neuron.gpg] https://${APT_REPO_PREFIX}${NEURON_APT_REPO} jammy main" > /etc/apt/sources.list.d/neuron.list \
Expand All @@ -159,7 +160,7 @@
# Neuron SDK components version numbers
ARG NEURONX_COLLECTIVES_LIB_VERSION=2.33.10.0-068180c7a
ARG NEURONX_RUNTIME_LIB_VERSION=2.33.10.0-3dcef56f0
ARG NEURONX_TOOLS_VERSION=2.31.13.0-a9e473f33
ARG NEURONX_TOOLS_VERSION=2.31.15.0-5c7949a6a

ARG NEURONX_CC_VERSION=2.26.6360.0+6f180f47
ARG NKI_VERSION=0.5.0+28631259367.ga768afa6
Expand Down
Loading