Files
Tom Kasper aa79bc02fb Train with gradient accumulation + Triton-native-JIT workaround on 16 GB GPUs
Effective batch stays the spec's 256; --grad-accum splits it into
micro-batches sized from measured bf16 fwd+bwd peaks on the RTX 4060 Ti
(GRAD_ACCUM table per ladder point, fallback 32). train/test shells also
export TORCH_DISABLE_NATIVE_JIT=1 (torch 2.13 Triton native ops cannot
build in the conda env: no CUDA headers) and expandable_segments to
fight fragmentation. Requires custom_models grad_accum support.
2026-11-05 23:13:23 +01:00
..