refactor complemention api for readability (#2499)

This commit is contained in:
Simon Mo
2024-01-18 16:45:14 -08:00
committed by GitHub
parent d2a68364c4
commit dd7e8f5f64
6 changed files with 286 additions and 255 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ def prepare_hf_model_weights(
use_safetensors = True
break
logger.info(f"Downloading model weights {allow_patterns}")
logger.info(f"Using model weights format {allow_patterns}")
# Use file lock to prevent multiple processes from
# downloading the same model weights at the same time.
with get_lock(model_name_or_path, cache_dir):