Friday, March 3, 2023
Show HN: Zipslicer, a library for loading LLM checkpoints on consumer hardware https://ift.tt/7Txyiwt
Show HN: Zipslicer, a library for loading LLM checkpoints on consumer hardware 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/xB8vOEL https://ift.tt/LiK2QBj March 4, 2023 at 12:59AM
Subscribe to:
Post Comments (Atom)
Show HN: val – An arbitrary precision calculator language https://ift.tt/1JxjPhf
Show HN: val – An arbitrary precision calculator language Wrote this to learn more about the `chumsky` parser combinator library, rustyline,...
-
Show HN: High school robotics code/CAD/design binder release Hello HN! My name is Patrick, and I am a junior at my High School’s FRC robotic...
-
Show HN: D&D meets Siri – Interactive voice adventure Hey HN! I've been building tooling for voice-driven apps over the past few mon...
-
Show HN: I Made an AI Social Media Manager to Automate Content Creation Hey HN, I am a Solopreneur, and I love building apps to automate bor...
No comments:
Post a Comment