Merge pull request #261 from ebolam/UI2

Fix for colab trying to use GPU when on TPU
This commit is contained in:
henk717
2023-01-15 01:45:40 +01:00
committed by GitHub

View File

@@ -1192,7 +1192,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