Get model cache root path. Returns: str: the modelscope model cache root.
()
| 59 | |
| 60 | |
| 61 | def get_model_cache_root() -> str: |
| 62 | """Get model cache root path. |
| 63 | |
| 64 | Returns: |
| 65 | str: the modelscope model cache root. |
| 66 | """ |
| 67 | return os.path.join(get_modelscope_cache_dir(), 'models') |
| 68 | |
| 69 | |
| 70 | def get_dataset_cache_root() -> str: |
no test coverage detected
searching dependent graphs…