Amazon

New top story on Hacker News: Show HN: Zipslicer, a library for loading LLM checkpoints on consumer hardware

Show HN: Zipslicer, a library for loading LLM checkpoints on consumer hardware
13 by kir-gadjello | 2 comments on Hacker News.
This is a low-level opensource library I developed for my own use and decided to share, as it makes it possible to process large checkpoints of neural networks without renting high-RAM instances, on a regular PC. It replaces torch.load() with a custom function that produces a dictionary that materializes tensors on the fly. Compared to other solutions it doesn't require sharding or re-encoding checkpoints and uses them completely as-is. It is a foundation to make it possible to run inference and compress language models and other large models one layer at a time - in principle, even one tensor at a time. I describe the rationale and technical details of the library's design in the blogpost: https://ift.tt/iyYD9l3

Comments

Popular posts from this blog

RFK Jr says he was behind mystery of dead bear dumped in Central Park with bicycle - The Guardian US

Israel orders Gazans out of swathes of Khan Younis - Reuters

Mexico's president says country will break diplomatic ties with Ecuador - NPR