Enable Tokenizer Parralism
Has proven to be safe in my internal testing and does help with the interface lag at boot. Enabling this so it can get wider testing.
This commit is contained in:
parent
ecd7b328ec
commit
b8e08cdd63
|
@ -11,7 +11,7 @@ eventlet.monkey_patch(all=True, thread=False)
|
||||||
import os
|
import os
|
||||||
os.system("")
|
os.system("")
|
||||||
os.environ['EVENTLET_THREADPOOL_SIZE'] = '1'
|
os.environ['EVENTLET_THREADPOOL_SIZE'] = '1'
|
||||||
os.environ['TOKENIZERS_PARALLELISM'] = 'false'
|
os.environ['TOKENIZERS_PARALLELISM'] = 'true'
|
||||||
from eventlet import tpool
|
from eventlet import tpool
|
||||||
|
|
||||||
from os import path, getcwd
|
from os import path, getcwd
|
||||||
|
|
Loading…
Reference in New Issue