mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Horde Fix
This commit is contained in:
@@ -1866,6 +1866,7 @@ def load_model(use_gpu=True, gpu_layers=None, disk_layers=None, initial_load=Fal
|
|||||||
global GPT2TokenizerFast
|
global GPT2TokenizerFast
|
||||||
global tokenizer
|
global tokenizer
|
||||||
koboldai_vars.aibusy = True
|
koboldai_vars.aibusy = True
|
||||||
|
koboldai_vars.horde_share = False
|
||||||
if(initial_load):
|
if(initial_load):
|
||||||
use_breakmodel_args = True
|
use_breakmodel_args = True
|
||||||
reset_model_settings()
|
reset_model_settings()
|
||||||
|
@@ -799,6 +799,7 @@ class system_settings(settings):
|
|||||||
if self.on_colab == False:
|
if self.on_colab == False:
|
||||||
if os.path.exists("./KoboldAI-Horde"):
|
if os.path.exists("./KoboldAI-Horde"):
|
||||||
if value == True:
|
if value == True:
|
||||||
|
if self._horde_pid is None:
|
||||||
import subprocess
|
import subprocess
|
||||||
import random
|
import random
|
||||||
random.seed()
|
random.seed()
|
||||||
|
Reference in New Issue
Block a user