Skip to content

GPUlayer 0.11.1

Choose a tag to compare

@antonellof antonellof released this 09 Nov 11:11
· 15 commits to main since this release

Validated on NVIDIA L4 (4 GPUs), H200 and RTX PRO 6000 Blackwell on Hugging Face Jobs. That found two bugs, both fixed here. Results: benchmarks/results/2026-11-09-hf-gpus/.

Fixes

  • Notebooks on CUDA: Trainer(devices=N) in a notebook failed in every forked process ("Cannot re-initialize CUDA in forked subprocess"), because the Trainer's own CUDA check asked the CUDA driver. It now asks NVML, as Lightning does. If a cell calls torch.cuda.is_available() before fit, the processes say how to avoid it.
  • Automatic resume: a retry could start from the checkpoint before the one saved on SIGTERM and train some steps again. The worker took a checkpoint written a few milliseconds after the previous one, with the same size, as already stored; it now compares contents. Upgrade workers to get this fix.

Validated on GPUs

  • The test suite (with the Lightning conformance tests), CUDA checks and the Trainer's GPU checks on L4, H200 and RTX PRO 6000.
  • TransformerEnginePrecision (FP8) on an L4: FP8 on in the forward pass, the loss within 2% of bf16-true. Transformer Engine 2.20 loads the FP8 state of a checkpoint only with NVTE_ALLOW_UNSAFE_PICKLE_EXTRA_STATE=1; set it only for checkpoints you trust.
  • Exact resume on one GPU (identical weights), resume and torchmetrics sync over NCCL on 4 L4s, notebook forks on 4 L4s.
  • JAX, CuPy and Transformers as GPUlayer jobs on an L4. TensorFlow and ONNX Runtime jobs did not find their CUDA libraries and ran on the CPU.

Not covered

AMD ROCm and Ryzen AI NPUs are still not run on their hardware. After the fix, the notebook check's own line parsing was corrected but not rerun, because no 4-GPU machine was free.

New validation scripts: scripts/validate_parity_gpu.py, scripts/validate_te_fp8.py, and scripts/validate_libraries.py again.