pymllm.convertor¶
Submodules¶
Attributes¶
Functions¶
|
Load a model from file. Supports safetensors and torch formats. |
Package Contents¶
- pymllm.convertor.MLLM_FIND_SAFETENSORS_AVAILABLE¶
- pymllm.convertor.load_model(file_path)¶
Load a model from file. Supports safetensors and torch formats. For safetensors, also supports model.index.json files.
- Parameters:
file_path (str) – Path to the model file
- Returns:
Dictionary containing the model parameters
- Return type:
Dict