LUNA / train.py

Commit History

  1. Upload train.py with huggingface_hub

    BHARGAV REDDY
    Verified signature
    28e9a14

  1. Bulletproof probe: simulate grad_accum, expandable_segments, 70% safety

    4d7a400
  2. Fix: probe with return_logits=False (was wasting 3GB on logits tensor), show peak VRAM

    4d6a3fe
  3. Fix probe: use actual model (no duplicate), add GPU cleanup at start

    78a081e
  4. Maximize GPU usage: probe up to 4096 batch, 92% safety, only catch OOM

    80bdec5
  5. Disable torch.compile entirely - causes OOM/crash at 100M scale

    649da09
  6. Fix: use compile mode=default to avoid CUDA graph + tied embedding crash

    0a6cf2e
  7. Fix torch.compile CUDA graph training on 5090

    4bf87a0
  8. LUNA 100M: cloud-ready training pipeline⁠

    ad68b7f