Weightlens

Weightlens

posted 1 min read

Weightlens is here!

If you've worked with models and checkpoints, you will know how frustrating it is to deal with partial downloads, corrupted .pth files, and the list goes on, especially if it's a large project.

To spare the burden for everyone, I have created a small tool that allows you to analyze a model's checkpoints where you can:

  1. detect corruption (partial failures, tensor access failures, etc)
  2. extract per-layer metrics (mean, std, l2 norm, etc)
  3. get global distribution stats which are properly streamed and won't break your computer
  4. deterministic diagnostics for unhealthy layers.

To try it, run pip install weightlens into your virtual environment and run lens analyze <filename>.pth and check it out!

Please do give it a star if you like it!

I would love your thoughts on testing this out and getting your feedback.

1 Comment

1 vote
0

More Posts

I’m a Senior Dev and I’ve Forgotten How to Think Without a Prompt

Karol Modelskiverified - Mar 19

Google Drive Sync

Pocket Portfolio - Jan 5

Agent Action Guard

praneeth - Mar 31

The End of Data Export: Why the Cloud is a Compliance Trap

Pocket Portfolio - Apr 6

AutoML Lite: A Lightweight AutoML Tool for Fast ML Experiments

SHERIN JOSEPH ROY - Nov 20, 2025
chevron_left

Related Jobs

View all jobs →

Commenters (This Week)

2 comments
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!