presetsΒΆ

Convenient factories for common compression recipes. Each preset returns a ready-to-use config that can be further refined by chaining set_module_type(), set_module_name(), only_for(), or without().

Preset

Description

w4()

4-bit palettization, per-grouped-channel, group_size defaults to 16.

w6()

6-bit palettization, per-grouped-channel, group_size defaults to 16.

w8()

8-bit palettization, per-tensor.