llmcompressor.core.model_layer
Model layer utility classes for LLM compression workflows.
Provides dataclass containers for managing model layers and their associated parameters during compression operations. Facilitates tracking and manipulation of specific model components and their parameters.
Classes:
-
ModelParameterizedLayer–A dataclass for holding a parameter and its layer
ModelParameterizedLayer dataclass
A dataclass for holding a parameter and its layer
Parameters:
-
(layer_namestr) –the name of the layer
-
(layerAny) –the layer object
-
(param_namestr) –the name of the parameter
-
(paramAny) –the parameter object