From 9470957bb9d2dd21280d7b2ce755b7dd7026e3aa Mon Sep 17 00:00:00 2001 From: Roland Tannous Date: Fri, 6 Mar 2026 18:04:27 +0000 Subject: [PATCH] fix: log final GGUF file locations after relocation --- studio/backend/core/export/export.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/studio/backend/core/export/export.py b/studio/backend/core/export/export.py index 3d3db2d560..c0f53f2e0e 100644 --- a/studio/backend/core/export/export.py +++ b/studio/backend/core/export/export.py @@ -453,7 +453,14 @@ class ExportBackend: # Write export metadata so the Chat page can identify the base model self._write_export_metadata(abs_save_dir) - logger.info(f"GGUF model saved successfully in {abs_save_dir}") + # Log final file locations (after relocation) so it's clear + # where the GGUF files actually ended up. + final_ggufs = sorted(glob.glob(os.path.join(abs_save_dir, "*.gguf"))) + logger.info( + "GGUF export complete. Final files in %s:\n %s", + abs_save_dir, + "\n ".join(os.path.basename(f) for f in final_ggufs) or "(none)", + ) # Push to hub if requested if push_to_hub: