mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +00:00
Model: Grammar: Fix lru_cache clear function
It's cache_clear not clear_cache. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
@@ -64,7 +64,7 @@ def clear_grammar_func_cache():
|
||||
"""Flush tokenizer_data cache to avoid holding references to
|
||||
tokenizers after unloading a model"""
|
||||
|
||||
_get_lmfe_tokenizer_data.clear_cache()
|
||||
_get_lmfe_tokenizer_data.cache_clear()
|
||||
|
||||
|
||||
class ExLlamaV2Grammar:
|
||||
|
||||
Reference in New Issue
Block a user