Skip to content

Design rationale

datascience / llms / kaggle

datascience-* is a lightweight intro ML stack. All NVIDIA images for these families share a pinned CUDA 12.8 cuDNN runtime and Python 3.12 baseline. GPU framework wheels are project-built with explicit Pascal-through-Blackwell targets (sm_60 through sm_100) rather than inheriting an upstream framework image's GPU allowlist. Mac variants are native linux/arm64 images; CPU variants use python:3.12-slim with the same packages.

deeplearning

deeplearning-* is a TensorFlow + PyTorch environment. The NVIDIA variant is currently based on the NVIDIA TensorFlow NGC 24.08 image (nvcr.io/nvidia/tensorflow:24.08-tf2-py3) rather than the shared bare CUDA runtime used by other families. This provides pre-compiled TF kernels for Pascal GPUs (CC 6.x), which cannot be obtained from any post-24.08 NGC image or from PyPI TF wheels. The entire deeplearning family (nvidia, cpu, mac) uses Python 3.10 for consistency with the NGC base.

The long-term goal is to move deeplearning-nvidia to the shared bare CUDA baseline (like datascience/llms/kaggle) using a custom TF wheel built from source with explicit Pascal arch targets. This migration is blocked by a TF linker visibility issue — see docs/development/pascal-blackwell-plan.md.

kaggle

Package versions are pinned to match a Kaggle notebook pip freeze so local code behaves identically when submitted. The NVIDIA variant ships Kaggle-matched RAPIDS and TensorFlow versions plus a custom PyTorch 2.10.0 wheel with Pascal support; Kaggle's own stock cu128 wheel has no Pascal kernels, so torch on Kaggle's P100s silently fails. Same version, but it actually works.