From 5685ab40ca4f41f8e582030bc437387fa8ddff11 Mon Sep 17 00:00:00 2001 From: Aryan Kumar Date: Mon, 19 Oct 2026 12:19:34 -0700 Subject: [PATCH] [fix]: keep --config exports working without checkpoint metadata --- fastvideo/train/entrypoint/dcp_to_diffusers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastvideo/train/entrypoint/dcp_to_diffusers.py b/fastvideo/train/entrypoint/dcp_to_diffusers.py index 116c7bb4f..5795f20bb 100644 --- a/fastvideo/train/entrypoint/dcp_to_diffusers.py +++ b/fastvideo/train/entrypoint/dcp_to_diffusers.py @@ -469,7 +469,7 @@ def convert( dcp_dir = resolved / "dcp" if not dcp_dir.is_dir(): raise FileNotFoundError(f"Missing dcp/ under {resolved}") - metadata = CheckpointManager.load_metadata(resolved) + metadata = CheckpointManager.load_metadata(resolved) if (resolved / "metadata.json").is_file() else {} weights_only = bool(metadata.get("weights_only", False)) # -- Obtain config --