hf_transformer_utils ¶
Utilities for Huggingface Transformers.
Functions:¶
fastvideo.models.hf_transformer_utils.check_gguf_file ¶
Check if the file is a GGUF model.
Source code in fastvideo/models/hf_transformer_utils.py
fastvideo.models.hf_transformer_utils.get_diffusers_config ¶
Gets a configuration for the given diffusers model.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model | str | The model name or path. | required |
fastvideo_args | Optional inference arguments to override in the config. | required |
Returns:
| Type | Description |
|---|---|
dict[str, Any] | The loaded configuration. |