llmcompressor.modifiers.smoothquant.utils
Backwards compatibility shim for SmoothQuantModifier utils module.
This module has been moved to llmcompressor.modifiers.transform.smoothquant.utils. This shim will be removed in a future version.
Functions:
-
get_layer_mappings_from_architecture–:param architecture: str: The architecture of the model
get_layer_mappings_from_architecture
Parameters:
-
(architecturestr) –str: The architecture of the model
Returns:
-
list[LayerMap]–list: The layer mappings for the given architecture