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
4 changes: 2 additions & 2 deletions jax/training/0.7/Dockerfile.neuronx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
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.7/Dockerfile.neuronx

View workflow job for this annotation

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

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"
Expand Down Expand Up @@ -162,9 +162,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 165 in jax/training/0.7/Dockerfile.neuronx

View workflow job for this annotation

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

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 167 in jax/training/0.7/Dockerfile.neuronx

View workflow job for this annotation

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

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,9 +173,9 @@
# Neuron SDK components version numbers
ARG NEURONX_RUNTIME_LIB_VERSION=2.31.24.0-0b044f4ce
ARG NEURONX_COLLECTIVES_LIB_VERSION=2.31.24.0-1a31ba186
ARG NEURONX_TOOLS_VERSION=2.29.18.0-d5fe7ba42
ARG NEURONX_TOOLS_VERSION=2.29.22.0-b486b0ade

ARG NEURONX_CC_VERSION=2.24.5133.0+58f8de22
ARG NEURONX_CC_VERSION=2.24.8799.0+6f62ff7c
ARG NEURONX_JAX_TRAINING_VERSION=0.7.0.1.0.8181+1e892be0
ARG NKI_VERSION=0.3.0+23928721754.g18aa1271

Expand Down
6 changes: 3 additions & 3 deletions pytorch/inference/2.9.0/Dockerfile.neuronx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# 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

RUN apt-get update \
Expand Down Expand Up @@ -172,9 +172,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 175 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 177 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 @@ -183,10 +183,10 @@
# Neuron SDK components version numbers
ARG NEURONX_COLLECTIVES_LIB_VERSION=2.31.24.0-1a31ba186
ARG NEURONX_RUNTIME_LIB_VERSION=2.31.24.0-0b044f4ce
ARG NEURONX_TOOLS_VERSION=2.29.18.0-d5fe7ba42
ARG NEURONX_TOOLS_VERSION=2.29.22.0-b486b0ade

ARG NEURONX_CC_VERSION=2.24.5133.0+58f8de22
ARG NEURONX_FRAMEWORK_VERSION=2.9.0.2.13.24727+8e870898
ARG NEURONX_CC_VERSION=2.24.8799.0+6f62ff7c
ARG NEURONX_FRAMEWORK_VERSION=2.9.0.2.13.26312+8e870898
ARG NEURONX_DISTRIBUTED_VERSION=0.18.27753+1cafd54f
ARG NEURONX_DISTRIBUTED_INFERENCE_VERSION=0.9.17334+ced6ae4e
ARG NKI_VERSION=0.3.0+23928721754.g18aa1271
Expand Down
6 changes: 3 additions & 3 deletions pytorch/training/2.9.0/Dockerfile.neuronx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
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 24 in pytorch/training/2.9.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (2.9.0, pytorch/training/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 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"
Expand Down Expand Up @@ -198,9 +198,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 201 in pytorch/training/2.9.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (2.9.0, pytorch/training/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 203 in pytorch/training/2.9.0/Dockerfile.neuronx

View workflow job for this annotation

GitHub Actions / build (2.9.0, pytorch/training/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 @@ -209,10 +209,10 @@
# Neuron SDK components
ARG NEURONX_COLLECTIVES_LIB_VERSION=2.31.24.0-1a31ba186
ARG NEURONX_RUNTIME_LIB_VERSION=2.31.24.0-0b044f4ce
ARG NEURONX_TOOLS_VERSION=2.29.18.0-d5fe7ba42
ARG NEURONX_TOOLS_VERSION=2.29.22.0-b486b0ade

ARG NEURONX_FRAMEWORK_VERSION=2.9.0.2.13.24727+8e870898
ARG NEURONX_CC_VERSION=2.24.5133.0+58f8de22
ARG NEURONX_FRAMEWORK_VERSION=2.9.0.2.13.26312+8e870898
ARG NEURONX_CC_VERSION=2.24.8799.0+6f62ff7c
ARG NEURONX_DISTRIBUTED_VERSION=0.18.27753+1cafd54f
ARG NEURONX_DISTRIBUTED_TRAINING_VERSION=1.7.0
ARG NKI_VERSION=0.3.0+23928721754.g18aa1271
Expand Down
8 changes: 4 additions & 4 deletions vllm/inference/0.16.0/Dockerfile.neuronx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# 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

RUN apt-get update \
Expand Down Expand Up @@ -109,7 +109,7 @@
### Mount Point ###
# When launching the container, mount the code directory to /workspace
ARG APP_MOUNT=/workspace
VOLUME [ ${APP_MOUNT} ]
VOLUME ${APP_MOUNT}
WORKDIR ${APP_MOUNT}/vllm

# Install AWS CLI
Expand Down Expand Up @@ -150,9 +150,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 153 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 155 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 @@ -161,10 +161,10 @@
# Neuron SDK components version numbers
ARG NEURONX_COLLECTIVES_LIB_VERSION=2.31.24.0-1a31ba186
ARG NEURONX_RUNTIME_LIB_VERSION=2.31.24.0-0b044f4ce
ARG NEURONX_TOOLS_VERSION=2.29.18.0-d5fe7ba42
ARG NEURONX_TOOLS_VERSION=2.29.22.0-b486b0ade

ARG NEURONX_CC_VERSION=2.24.5133.0+58f8de22
ARG NEURONX_FRAMEWORK_VERSION=2.9.0.2.13.24727+8e870898
ARG NEURONX_CC_VERSION=2.24.8799.0+6f62ff7c
ARG NEURONX_FRAMEWORK_VERSION=2.9.0.2.13.26312+8e870898
ARG NEURONX_DISTRIBUTED_VERSION=0.18.27753+1cafd54f
ARG NEURONX_DISTRIBUTED_INFERENCE_VERSION=0.9.17334+ced6ae4e
ARG NKI_VERSION=0.3.0+23928721754.g18aa1271
Expand Down
Loading