mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
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:
@@ -11,7 +11,7 @@ eventlet.monkey_patch(all=True, thread=False)
|
||||
import os
|
||||
os.system("")
|
||||
os.environ['EVENTLET_THREADPOOL_SIZE'] = '1'
|
||||
os.environ['TOKENIZERS_PARALLELISM'] = 'false'
|
||||
os.environ['TOKENIZERS_PARALLELISM'] = 'true'
|
||||
from eventlet import tpool
|
||||
|
||||
from os import path, getcwd
|
||||
|
Reference in New Issue
Block a user