Latest / AI & agents

zipslicer

github.com · Open source · Quiet

Python library for loading large PyTorch checkpoints incrementally

Visit github.com ↗Share

Stars
56
Forks
2
Open issues
1
Last commit
Releases
2
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

zipslicer is a low-level Python library that loads large PyTorch checkpoints incrementally, materializing tensors on the fly instead of loading the whole file. It works with existing checkpoints without re-encoding them. It suits researchers running large language models on consumer hardware.

Repository description on GitHub: “A library for incremental loading of large PyTorch checkpoints”

What it does

  • Loads PyTorch checkpoints incrementally, materializing tensors on demand
  • Works with existing checkpoints without re-encoding or sharding
  • Lazy state dict in place of torch.load()

Good for

  • Load one layer of a large checkpoint without loading the whole file
  • Inspect large neural network checkpoints on a regular PC

Suits: Researchers running large models on consumer hardware.

What you can try

Read the README on GitHub and install from source.

Install

pip install zipslicer

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw zipslicer on , when kir-gadjello posted it to Show HN. The oldest published release on GitHub is 0.8.0, dated . zipslicer had been shipping tagged releases for 26 days before it was found. 2 releases have been published in total; the latest is 0.8.1-alpha ().

Day-7 and day-30 updates

Day 7 1 release shipped

  • 1 release in the first 7 days: 0.8.1-alpha (3 Mar 2023)
  • Show HN discussion at check time: 38 points, 8 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 1 release shipped

  • 1 release in the first 30 days: 0.8.1-alpha (3 Mar 2023)
  • Show HN discussion at check time: 38 points, 8 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: kir-gadjello/zipslicer
  2. Release 0.8.0
  3. Found: kir-gadjello posted it to Show HN. Show HN
  4. Release 0.8.1-alpha
  5. Day-7 check recorded by Kip (details)
  6. Day-30 check recorded by Kip (details)

Quick answers

When was zipslicer released?
Its first tagged release on GitHub is dated 6 Feb 2023. Kip found it on Show HN on 3 Mar 2023.
Is zipslicer open source?
Its source is public on GitHub at kir-gadjello/zipslicer; check the repository for licence terms.
What does zipslicer run on?
Library.
Is zipslicer free?
It is open source, so the code is free to read and run; check the licence for terms.
Is zipslicer still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorykir-gadjello/zipslicer
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-35013939. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.