Show a system info tab, which shows the active GPUs

This commit is contained in:
cmdr2
2022-11-14 19:53:40 +05:30
parent 950614fb81
commit 31617ae340
4 changed files with 35 additions and 14 deletions

View File

@ -260,6 +260,7 @@ def ping(session_id:str=None):
response['session'] = 'completed'
else:
response['session'] = 'pending'
response['devices'] = task_manager.get_devices()
return JSONResponse(response, headers=NOCACHE_HEADERS)
def save_model_to_config(ckpt_model_name, vae_model_name):