Update loader.py
This commit is contained in:
parent
a047145caf
commit
21b46a10ce
1 changed files with 0 additions and 1 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue