From 49d31f7a626cc203feb5139e39d1e06d51d9d5e0 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Sun, 30 Jun 2024 06:49:30 +0200 Subject: [PATCH] squash! convert-hf : print output file name when completed Use os.sep instead of hardcoding the path separator. Signed-off-by: Daniel Bevenius --- convert-hf-to-gguf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert-hf-to-gguf.py b/convert-hf-to-gguf.py index f82a7423f..b7cc94f63 100755 --- a/convert-hf-to-gguf.py +++ b/convert-hf-to-gguf.py @@ -3133,7 +3133,7 @@ def main() -> None: else: logger.info("Exporting model...") model_instance.write() - out_path = f"{model_instance.fname_out.parent}/" if is_split else model_instance.fname_out + out_path = f"{model_instance.fname_out.parent}{os.sep}" if is_split else model_instance.fname_out logger.info(f"Model successfully exported to {out_path}")