Skip to content

AirLLM v4.0.1

Latest

Choose a tag to compare

@lyogavin lyogavin released this 23 Nov 16:58
· 2 commits to main since this release
291a93a

Patch release.

  • 4-bit disk check: the free-space estimate now multiplies by the NF4 size ratio (~0.28×) instead of dividing, so a compressed split is no longer asked for ~3.5× the checkpoint size.
  • Compression: 4-bit and 8-bit quantization applies to weight matrices only. 1-D tensors (norm weights, biases, scalars) stay full precision. Existing compressed shards still load.
  • Baichuan: tokenizer classes import from the public transformers API.
  • macOS: models with tied embeddings and no lm_head shard use the token embedding matrix for the output projection.
  • Optional: clean_memory_per_layer=False skips the per-layer garbage collection. The default remains True.

Upgrade

pip install --upgrade airllm