Auto Tuning Configuration Reference Navigation¶
This directory is the field-level reference for msModelSlim auto-tuning configuration (YAML). It is organized as: write the tuning plan first, then look up strategies and evaluation services by type. For the usage workflow and end-to-end steps, see Auto Tuning Usage Guide; for command-line parameters, see msmodelslim tune Command-Line API Reference; for strategy selection, see Auto Tuning Strategy Overview. For the fields of quantization task YAML, see Quantization Task Configuration Reference Navigation; for the master tables of processors and save formats, see Configuration Reference Navigation.
1. How to Use This Documentation Set¶
- Determine the top-level structure: the root of a tuning YAML is not
apiversionbut the two required fields of tuning_plan:strategyandevaluation. - Look up strategies:
strategyis dispatched bytype. Use the tuning strategies table below to find the corresponding page. - Look up evaluation services:
evaluationis dispatched bytype. Use the evaluation services table below to find the corresponding page. Currently onlyservice_orientedis available. - Look up embedded quantization configuration: the
templateofstanding_highandbinary_fallbackreferences a best-practice ormodelslim_v1task configuration; for protocol pages, see Quantization Task Configuration Reference Navigation; for processortypevalues, see Configuration Reference Navigation.standing_high_with_experiencedoes not require a complete hand-written quantization YAML; it is generated fromquant_typeandstructure_configs.
Except for this page, every page in this directory is generated from source Pydantic annotations by
skills/docs-management/scripts/gen_config_api_docs.py. To change a field description, edit the source annotations such asField(description=)and regenerate; do not edit pages that carry agenerated-bymarker directly.
2. Tuning Plan¶
| Configuration | Description |
|---|---|
| tuning_plan | Tuning plan root configuration, containing only strategy and evaluation. |
3. Tuning Strategies (strategy Dispatched by type)¶
type |
Configuration | Purpose |
|---|---|---|
standing_high |
standing_high | Standing high: run sensitive layer analysis first, then roll back progressively and try different outlier suppression chains; a quantization template must be provided. |
standing_high_with_experience |
standing_high_with_experience | Experience-based Standing high: generates a quantization plan from the quantization type and structure configuration, with no need to hand-write a complete template. |
binary_fallback |
binary_fallback | Binary fallback: searches for the shortest fallback prefix over a complete PracticeConfig template. |
standing_high.template points to modelslim_v1 Configuration Reference. binary_fallback.template points to PracticeConfig Configuration Reference, and apiversion must be modelslim_v1.
4. Evaluation Services (evaluation Dispatched by type)¶
type |
Configuration | Purpose |
|---|---|---|
service_oriented |
evaluation_service_oriented | Service-oriented evaluation: accuracy expectations, AISBench evaluation, and the vLLM-Ascend inference engine. |