Skip to content

Commit 8861cf0

Browse files
sayak@huggingface.coclaude
andcommitted
[tests] split tests/quantization into pipeline-level and backend-level tiers
Pipeline-level quantization tests (pipeline quality slices, cpu offload, LoRA loading, compile, PipelineQuantizationConfig) move to tests/pipelines/testing_utils/quantization.py, marked per backend so the nightly CI can select them with `pytest -m`. tests/quantization keeps only backend-level tests that fit neither tier: config validation, utility warnings, and GGUF CUDA kernel correctness. Tests already covered by the model-level mixins are dropped. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent b34a2b2 commit 8861cf0

14 files changed

Lines changed: 1741 additions & 3767 deletions

File tree

tests/pipelines/testing_utils/quantization.py

Lines changed: 1695 additions & 0 deletions
Large diffs are not rendered by default.

tests/quantization/bnb/README.md

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)