Back to directory

AngelSlim

A large-model compression toolkit supporting quantization, speculative decoding and distillation for LLMs, VLMs and diffusion models, aimed at making compressed models more usable and efficient to deploy.

Visit website (opens in a new tab)angelslim.readthedocs.io
AngelSlim

AngelSlim is a toolkit for compressing large models, including LLMs, vision-language models and diffusion models, through quantization (including FP8-static and FP4), speculative decoding, and distillation. It supports quantization-aware distillation on Megatron-Core for MoE models with distributed training, and has released standalone drafter weights and a training framework (AngelSpec) for speculative decoding.

Its speculative-decoding components include a sparse-attention algorithm that accelerates the prefill stage of long-context LLMs by dynamically selecting top-k key blocks, a block-diffusion speculative decoding framework with layer-wise fusion, and an adaptive verification-depth pruning technique, reporting substantial end-to-end speedups over autoregressive decoding in its released benchmarks.

It publishes a technical report and documentation, and released models are available on Hugging Face and ModelScope.

More in Models

See all 405
  • mini-AGI

    github.com

    A continual learning language model that trains from scratch on a single 8 GB VRAM GPU, assembling its own architecture and adapting its size to the hardware and data available rather than shipping as a fixed pretrained model.

  • An open-source contrastive-embedding pipeline that maps technical CVE vulnerability descriptions to formal cybersecurity compliance controls in NIST SP 800-53 and CMMC, published with its model generation, fine-tuning and evaluation code.

  • peekaboolean

    github.com

    A small vision-language model, fine-tuned with LoRA on a 500-million-parameter backbone, that answers typed multiple-choice, ordinal-score and yes/no questions about an image with calibrated probabilities, in about 400 milliseconds on a laptop.