improve memory usage of state cache
This commit is contained in:
parent
77df56cddc
commit
ff7306349a
@ -9,7 +9,7 @@ router = APIRouter()
|
||||
|
||||
trie = None
|
||||
dtrie: Dict = {}
|
||||
max_trie_len = 3000
|
||||
max_trie_len = 300
|
||||
loop_start_id = 1 # to prevent preloaded prompts from being deleted
|
||||
loop_del_trie_id = loop_start_id
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user