HNHacker News
TopNewBestAskShowJobs

luiscape

10 karma · joined April 16, 2015

My mission is to create systems that allow for humans and machines to collaborate, creating outcomes that greatly surpass those generated by either humans or machines working in isolation.
submissionscomments
luiscape··on GPU memory snapshots: sub-second startup (2025)
Post author here: there are other projects that will create a proxy for CUDA calls and use the log of CUDA operations to checkpoint / restore or live migration tasks. We haven’t used them. I don’t believe they are very popular nor used outside specific orgs.

This is the only API available for snapshotting NVIDIA GPU memory, afaik.

As for needing to combine it with a host memory snapshot step, this is required because CUDA sessions need to be mapped to a host process, so you need to snapshot both things in order for the program to be restored correctly.

CRIU is another project that uses the same technique (CUDA snapshot + host memory snapshot). Different than CRIU, our snapshots work at the function level so we’re able to take snapshots after functions have been initialized (including GPU memory), making Modal cold boots fast. One would have to implement this entire process using CRIU.

luiscape··on GPU Memory Snapshots: fast container cold boots
Modal eng here.

We have been using the new CUDA Checkpoint API (https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__CH...) in combination with gVisor's checkpoint / restore API and our custom file system to greatly reduce container cold boot. This is particularly impactful if you need to warm-up GPUs, for example if you are using torch.compile (i.e. you entirely skip torch.compile on restore cold boot).

luiscape··on Cuba′s Covid vaccine rivals Pfizer, Moderna
I see no linked evidence therein; to either clinical trial results or equivalent accredited sources. Sounds like good news, but without any accompanying evidence this is just random click-bait.
luiscape··on Our New Publishing Platform Will Make You a Better Writer
We are working to make our new publishing platform, Bertie, into a AI-powered writing assistant. The idea is to have the machine writing stories alongside human writers, enhancing the latter's ability to write performant stories. I'd love your feedback!
luiscape··on Genesis Noir – A noir adventure game set before, during, and after the Big Bang
A noir adventure game set before, during, and after the Big Bang. To save your love, you must stop the expansion of the universe.
luiscape··on Show HN: Deep Learning Personas
I asked about gravitational waves. The Physics Genius eventually answered with "Yes, a white trashbag and nothing else".

http://imgur.com/kLtsooB