[UX] Infer dtype for local checkpoint (#36218)

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
This commit is contained in:
Isotr0py
2026-03-11 08:50:04 +00:00
committed by GitHub
parent 098d844731
commit e568cf88bc
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1116,7 +1116,7 @@ def get_safetensors_params_metadata(
revision: str | None = None,
) -> dict[str, Any]:
"""
Get the safetensors metadata for remote model repository.
Get the safetensors parameters metadata for remote/local model repository.
"""
full_metadata = {}
if (model_path := Path(model)).exists():