Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 644 Bytes

File metadata and controls

22 lines (16 loc) · 644 Bytes

API reference

!!! info This is the auto-generated API documentation for LLM Compressor. Browse the llmcompressor module tree to explore all available classes, functions, and configuration options.

Using the API

The primary entry point for most users is the oneshot function:

from llmcompressor.transformers import oneshot

oneshot(
    model=model,
    dataset=dataset,
    recipe=recipe,
)

For advanced usage, you can configure individual modifiers and apply them directly to models. See the Examples section for detailed usage patterns.