nanochat/scripts
haltingstate 143dc98c76 Add MPS device detection and memory monitoring
Add is_mps_device() and should_use_torch_compile() to nanochat/common.py
Disable torch.compile on macOS MPS devices (prevents indefinite hanging)
Add conditional torch.compile in base_train.py and chat_sft.py
Add memory monitoring with 32GB inference / 96GB training limits

Reference: Task-20, Task-18, Task-19, Task-28, Task-39
2026-02-09 13:19:00 +08:00
..
base_eval.py small touchups to the eval script, re-order items etc, cosmetic 2026-02-03 21:03:42 +00:00
base_train.py Add MPS device detection and memory monitoring 2026-02-09 13:19:00 +08:00
chat_cli.py remove leftover mid references (#491) 2026-02-02 08:33:46 -08:00
chat_eval.py remove leftover mid references (#491) 2026-02-02 08:33:46 -08:00
chat_rl.py remove leftover mid references (#491) 2026-02-02 08:33:46 -08:00
chat_sft.py Add MPS device detection and memory monitoring 2026-02-09 13:19:00 +08:00
chat_web.py remove leftover mid references (#491) 2026-02-02 08:33:46 -08:00
tok_eval.py initial commit 2025-10-13 06:49:24 -07:00
tok_train.py quick fix to not OOM main speedrun script 2026-01-26 22:31:42 +00:00