[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
65ea3a2c81
commit
e17aea6c81
1 changed files with 1 additions and 4 deletions
|
|
@ -1698,10 +1698,7 @@ async def unload_model(
|
|||
)
|
||||
should_unload_llama = (
|
||||
llama_matches_request
|
||||
and (
|
||||
getattr(llama_backend, "is_active", False)
|
||||
or loading_identifier
|
||||
)
|
||||
and (getattr(llama_backend, "is_active", False) or loading_identifier)
|
||||
) or llama_is_starting_without_identifier
|
||||
if should_unload_llama:
|
||||
# Round 19 P1 #6: previously this called
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue