PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Safetensors Python Packages

Python packages with the GitHub topic safetensors. Sorted by monthly downloads, with stars and forks.
foundation-model-stack
fastsafetensors

High-performance safetensors model loader

1.8M 175 37
lutzroeder
netron

Visualizer for neural network, deep learning and machine learning models

78K 34K 3K
justinchuby
onnx-safetensors

Use safetensors with ONNX 🤗

19K 91 4
leon1706-lol
aether-vault

Git-like version control for ML — atomic commits for code, weights & datasets with C++ parallel hashing

8K 3 1
uno-km
termux-train

📱 Ultra-lightweight On-Device Tensor & DAG Autograd Deep Learning Framework for Android ARM64 Termux. SafeTensors zero-copy, LoRA fine-tuning, and RoPE Transformers.

5K 1 0
alvarobartt
hf-mem

A CLI to estimate inference memory requirements for Hugging Face models, written in Python.

5K 942 85
harshitkhandelwal208
hknt

HK is a unified neural model format and framework built in native Zig, designed to replace SafeTensors, GGUF, and PyTorch checkpoints. Features zero-copy mmap loading, dual-mode quantization, 2:4 hardware sparsity, live model expansion, and 137+ architecture support with bindings for Python, Rust, Go, C#, Java, and TypeScript.

3K 23 2
defai-digital
axquant

Not another flat 4-bit quantizer. AXQuant mixes precision layer by layer for Apple Silicon—smaller MLX models, protected quality-critical layers, production-ready plans.

2K 2 0
geekgineer
needle-rs

600 KB WASM runtime for Cactus Compute's Needle AI tool-calling models, Needle 3, 2 and 1 from one build. Browser, Cloudflare Workers, Node.js, Python, C FFI and no_std. Token-exact with the JAX reference. No backend, no API key.

2K 105 12
m96-chan
pygpukit

Minimal GPU runtime for Python - high-performance CUDA kernels, memory management, and LLM inference without heavy dependencies

1K 3 0
Aivis-Project
aivmlib

Aivis Voice Model File (.aivm/.aivmx) Utility Library

1K 26 7
wpferrell
bigsmall

Lossless AI model compression - ~34% smaller with bit-identical weights; the autopilot profiles your machine, picks the highest fidelity that runs, and streams models bigger than your RAM.

1K 2 0
IonDen
mlx-model-doctor

Validate an MLX / Hugging Face model repository before you load it.

1K 5 2
nkorvyakov28-AS
adaptersentry

Static security scanner for LoRA adapters (.safetensors) — M1 static analyzer for weight-level anomalies.

902 1 0
kako-jun
diffai-python

Python bindings for diffai, an AI/ML model diff tool comparing PyTorch, Safetensors, NumPy and MATLAB tensors

878 0 0
av
llm-harbor

Stop configuring your AI stack. Start using it. One command brings a complete pre-wired LLM stack with hundreds of services to explore.

794 3K 229
luislozanogmia
pre-reasoning

LLMs take the path of least resistance. Pre-Reasoning hands any model a map of the problem first, so it unlocks the knowledge it already has, faster. For large models, that means hard problems and long-horizon tasks. For small models, consistency. Root blockers, unlock order, conflicts, parallel work. 12M params, runs locally on CPU in ~200ms.

587 19 2
YauhenBichel
moe-fit

Will this mixture-of-experts model run on my machine, and how fast? Answered from the model's index, before downloading it.

439 1 0
Sandeep-int
agent-shield-int

Agent Shield catches prompt injection attacks before they reach your LLM.

325 0 0
khwstolle
ptwm

Efficient compression for neural network weights

322 1 0
FanxinSun
lmzip

Fast lossless compression for large model weights: 34% off BF16 checkpoints, byte-for-byte identical, with a CUDA decoder at 111 GB/s

316 0 0
ppradyoth
knowyourai

Is the model on your machine the model it claims to be? Zero-dependency CLI that verifies open-weight models (GGUF, safetensors, Ollama, Hugging Face) and pins them in a lockfile.

309 0 0
chainyo
tensorshare

🤝 Trade any tensors over the network

239 31 0
aliyun
osstables-lance-connector

High-performance Python librarys for connecting AI/ML frameworks with OSS storage.

197 27 7
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology