From e7effced1321093517082be8d266715d09f743db Mon Sep 17 00:00:00 2001 From: ebolam Date: Fri, 13 Jan 2023 07:46:38 -0500 Subject: [PATCH] Fix leaking usegpu and hascuda to the system save which can cause issues on colab. --- koboldai_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koboldai_settings.py b/koboldai_settings.py index 5031bcea..539dd62f 100644 --- a/koboldai_settings.py +++ b/koboldai_settings.py @@ -1190,7 +1190,7 @@ class system_settings(settings): 'lua_koboldcore', 'sp', 'sp_length', '_horde_pid', 'horde_share', 'aibusy', 'serverstarted', 'inference_config', 'image_pipeline', 'summarizer', 'summary_tokenizer', 'use_colab_tpu', 'noai', 'disable_set_aibusy', 'cloudflare_link', 'tts_model', - 'generating_image', 'bit_8_available', 'host'] + 'generating_image', 'bit_8_available', 'host', 'hascuda', 'usegpu'] settings_name = "system" def __init__(self, socketio, koboldai_var): self.socketio = socketio