nanochat/dev
Jason Kneen 3e184d343e Improve Mac/MPS compatibility and device handling
Added dev/runmac_overnight.sh for optimized Mac training. Updated device-specific logic throughout dataloader, GPT, Muon optimizer, and training scripts to avoid CUDA-only features on MPS/CPU (e.g., torch.compile, pin_memory, non_blocking, bfloat16). Relaxed torch version constraints in pyproject.toml and removed Linux/CUDA-specific PyTorch config for better macOS support.
2025-10-22 01:55:38 +01:00
..
gen_synthetic_data.py add personality to nanochat. breaks previous code on git pull and requires download of a new file from s3, but there is a helpful error message so hopefully its ok 2025-10-21 15:04:58 +00:00
generate_logo.html initial commit 2025-10-13 06:49:24 -07:00
nanochat.png add nanochat logo png 2025-10-13 06:59:59 -07:00
repackage_data_reference.py initial commit 2025-10-13 06:49:24 -07:00
runcpu.sh Improve Mac/MPS compatibility and device handling 2025-10-22 01:55:38 +01:00
runmac_overnight.sh Improve Mac/MPS compatibility and device handling 2025-10-22 01:55:38 +01:00