Skip to content

Commit ba0a330

Browse files
author
YASH Nankani
committed
lint fix
Signed-off-by: YASH Nankani <ynankani@2u1g-x570-0073.ipp2a1.colossus.nvidia.com>
1 parent e30a8f1 commit ba0a330

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

modelopt/torch/export/unified_export_hf.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,7 @@ def _postprocess_safetensors(
218218
model_type: str | None = None
219219
if merged_base_safetensor_path is not None:
220220
if pipe is None:
221-
raise ValueError(
222-
"`pipe` must be provided when `merged_base_safetensor_path` is set."
223-
)
221+
raise ValueError("`pipe` must be provided when `merged_base_safetensor_path` is set.")
224222
model_type = get_diffusion_model_type(pipe)
225223

226224
for sf_path in safetensor_files:

0 commit comments

Comments
 (0)