Skip to content

Developer Guides

These guides are for contributors who want to extend LLM Compressor with new functionality. Each guide walks through the relevant abstractions, the contracts you must fulfill, and a concrete working example.

Tutorials

  • Adding a New Modifier


    Learn how the modifier lifecycle works and how to implement a custom modifier that integrates with oneshot.

    Adding a New Modifier

  • Adding a New Observer


    Learn how observers compute quantization parameters and how to implement a custom observer registered for use in recipes.

    Adding a New Observer

  • Adding MoE Calibration Support for a New Model


    Learn why MoE models require special calibration handling and how to implement a calibration-friendly module definition for a new MoE architecture.

    Adding MoE Calibration Support for a New Model