Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ imports:
algorithm:
method: mse
fp8_scale_sweep: true
effective_bits: 4.5
quant_cfg:
- $import: base_disable_all
- quantizer_name: '*weight_quantizer'
Expand Down
4 changes: 4 additions & 0 deletions tests/unit/recipe/test_presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ def test_kv_none_sentinel_is_not_a_discovered_preset():
assert presets.KV_CACHE_NONE not in presets.KV_QUANT_CFG_CHOICES


def test_nvfp4_mse_preset_uses_nvfp4_storage_cost():
assert presets.QUANT_CFG_CHOICES["nvfp4_w4a4_weight_mse_fp8_sweep"]["effective_bits"] == 4.5


def test_w4a16_nvfp4_preset_disables_vllm_marlin_incompatible_projections():
disabled_quantizers = {
entry["quantizer_name"]
Expand Down
Loading