Skip to content

Commit 2db9c6c

Browse files
committed
format ONLY
1 parent bb3142b commit 2db9c6c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

vec_inf/client/_slurm_script_generator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ def __init__(self, params: dict[str, Any]):
266266
model_name,
267267
)
268268

269-
270269
def _write_to_log_dir(self, script_content: list[str], script_name: str) -> Path:
271270
"""Write the generated Slurm script to the log directory.
272271

vec_inf/client/_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,9 @@ def check_and_warn_hf_cache(
486486
)
487487

488488
if not hf_cache_set:
489-
model_prefix = f"Model weights for '{model_name}' " if model_name else "Model weights "
489+
model_prefix = (
490+
f"Model weights for '{model_name}' " if model_name else "Model weights "
491+
)
490492
warnings.warn(
491493
f"{model_prefix}not found at '{model_weights_path}' and no "
492494
f"HuggingFace cache directory is set (HF_HOME, HF_HUB_CACHE, or "

0 commit comments

Comments
 (0)