Fix leaking usegpu and hascuda to the system save which can cause issues on colab.

This commit is contained in:
ebolam
2023-01-13 07:46:38 -05:00
parent 489c1ffd80
commit e7effced13

View File

@@ -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