News for hackers. Stuff that matters.
Re:CS336: Language Modeling from Scratch by zaptrem on Tuesday June 02, 2026 @03:48AM (#48367236)
OOM on CUDA GPUs is relatively graceful (the process crashes). However, on macOS if torch MPS tries to allocate too much memory, the whole kernel will simply lock up and the only option is to reboot the computer. I have no idea why Apple doesn’t reserve memory for stuff like the OOM/kernel watchdog, but it seems they either don’t or there is a bug.

There are no comments on this comment yet.