llmcompressor.transformers
Tools for integrating LLM Compressor with transformers training flows.
Modules:
-
compression– -
data– -
tracing– -
utils–Utilities for applying sparsification algorithms to Hugging Face transformers flows
Functions:
-
is_model_ct_quantized_from_path–Determine if model from path is quantized based
is_model_ct_quantized_from_path
Determine if model from path is quantized based on the config
Parameters:
-
(pathstr) –path to the model or HF stub
Returns:
-
bool–True if config contains quantization_config from the given path