获取模型路径的便捷函数
(model_name: str)
| 208 | return _global_weights_manager |
| 209 | |
| 210 | def get_model_path(model_name: str) -> Optional[str]: |
| 211 | """获取模型路径的便捷函数""" |
| 212 | return get_weights_manager().get_model_path(model_name) |
| 213 | |
| 214 | def list_available_models() -> Dict[str, str]: |
| 215 | """列出可用模型的便捷函数""" |
nothing calls this directly
no test coverage detected