NVIDIA
NVIDIA
JAX
Container
NVIDIA
NVIDIA
JAX

JAX is a framework for high-performance numerical computing and machine learning research. It includes Numpy-like APIs, automatic differentiation, XLA acceleration and simple primitives for scaling across GPUs and supports an ecosystem of libraries.

LayerLabelCreated
1d7be89a31570e88442d0a1343cf709c3f41ff960244f68f132d20eb5ba40176CONFIG
Entrypoint /opt/nvidia/nvidia_entrypoint.sh
05/08/2024 4:54 AM UTC
4ef4928b5d0af6ffec83f74392f3408e7d5c7c7bc5de07c348a6f2b192dca2e2RUN
RUN |4 SRC_PATH_JAX=/opt/jax SRC_PATH_XLA=/opt/xla SRC_PATH_TE=/opt/transformer-engine BUILD_DATE= /bin/sh -c <<"EOF" bash -ex -o pipefail pip install ninja &&
  rm -rf ~/.cache/pip get-source.sh -l transformer-engine -m ${MANIFEST_FILE} pushd ${SRC_PATH_TE} ## apply release-specific patches: cherry-pick changes after the last release tag git cherry-pick 8e672ff0758033c348e263dbcd6a4b3578c01161 git cherry-pick bfe21c3d68b0a9951e5716fb520045db53419c5e git cherry-pick 7c1828f80edc1405d4ef1a7780c9e0046beab5c7 # https://github.com/NVIDIA/TransformerEngine/pull/745 ## end of apply release-specific patches python setup.py bdist_wheel &&
  rm -rf build echo "transformer-engine @ file://$(ls ${SRC_PATH_TE}/dist/*.whl)" >> /opt/pip-tools.d/requirements-te.in EOF # buildkit
05/08/2024 4:53 AM UTC
ce5b12fce8d5aa5e0e084648da7e773cdadf202ccf50d862305d811234e9aa69ENV
SRC_PATH_TE=/opt/transformer-engine
05/08/2024 4:49 AM UTC
a3823922bc1dbcc09acf80e2584e4ba8d97d8daece8d6673adceaa89aec719ceENV
NVTE_FRAMEWORK=jax
05/08/2024 4:49 AM UTC
c8b2c96f9f6ce365f64429eae5a75ed94b38e493166b38144376af5b99adae27RUN
SRC_PATH_JAX=/opt/jax SRC_PATH_XLA=/opt/xla SRC_PATH_TE=/opt/transformer-engine BUILD_DATE= get-source.sh -l flax -m ${MANIFEST_FILE} -o /opt/pip-tools.d/requirements-flax.in
05/08/2024 4:49 AM UTC
2113ed338e9bc92449f0ed2301e1b8db08e0f4ddf4150f3396fb6e6fd9f40897RUN
RUN |4 SRC_PATH_JAX=/opt/jax SRC_PATH_XLA=/opt/xla SRC_PATH_TE=/opt/transformer-engine BUILD_DATE= /bin/sh -c <<"EOF" bash -ex # Encourage a newer numpy so that pip's dependency resolver will allow newer
# versions of other packages that rely on newer numpy, but also include fixes
# for compatibility with newer JAX versions. e.g. chex.
echo "numpy >= 1.24.1"                                  >> /opt/pip-tools.d/requirements-jax.in
echo "-e file://${SRC_PATH_JAX}"                        >> /opt/pip-tools.d/requirements-jax.in
echo "jaxlib @ file://$(ls ${SRC_PATH_JAX}/dist/*.whl)" >> /opt/pip-tools.d/requirements-jax.in
EOF # buildkit
05/08/2024 4:49 AM UTC
77a0f933ef18322204910d6ed64ad486d621e36df653f2eceb75b087cc9379a5RUN
SRC_PATH_JAX=/opt/jax SRC_PATH_XLA=/opt/xla SRC_PATH_TE=/opt/transformer-engine BUILD_DATE= mkdir -p /opt/pip-tools.d
05/08/2024 4:49 AM UTC
1673839d824b88bf279c43298525fa7e7ceb91ff87c8710d799877a7fd833b33ADD
build-jax.sh local_cuda_arch test-jax.sh /usr/local/bin/
05/08/2024 4:49 AM UTC
6b94baf4c68c8b89e2458ab5c571858a173736b3d57405b261ca817cc7b59484COPY
/opt/xla /opt/xla
05/08/2024 4:49 AM UTC
76e5314e35ee6fa56ab1d73a974839e21863148652b950edee0b5100778172d2COPY
/opt/jax /opt/jax
05/08/2024 4:49 AM UTC
...

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.