Back to blog

Release

Quantization-aware adapters, finally done properly

Ink/charcoal doodle: quantized blocks feed through an adapter into a device panel.

First-class quantization metadata, safer device movement across quantized models, auto-routing based on checkpoint info, and major test coverage expansion.

1 min read
InvarLock Team

Release: InvarLock 0.3.0 — Safer device handling, smarter routing

Highlights

  • Quantization metadata and detection (methods/config/capabilities).
  • Safe device movement to avoid .to() foot-guns on quantized models.
  • Smarter auto-adapter routing + broader tests.

0.3.0 is foundational if you’re working with quantized or pre-quantized checkpoints. Instead of treating quantization like a weird edge case, the framework can represent it, detect it, and route adapters appropriately—so you spend less time fighting “why did this load differently?” issues.

The safe device movement work is especially practical: it helps avoid a common class of runtime errors where models manage device placement internally and don’t tolerate generic .to() calls.

If you’ve been building guard/eval workflows across different quantization setups, this release is essentially the “make this feel normal” moment.

For more details, see CHANGELOG.md.

More from the blog

Continue through recent releases and implementation notes.