Update loader.py

This commit is contained in:
Daniel Han 2025-03-08 03:36:45 -08:00
commit 21b46a10ce

View file

@ -553,7 +553,6 @@ class FastModel(FastBaseModel):
return_logits = return_logits,
)
pass
if do_logging: redirector.close()
# Check if this is local model since the tokenizer gets overwritten
if os.path.exists(os.path.join(old_model_name, "tokenizer_config.json")) and \