From c1b99f45cb560cba229426862a27a8b84d827c90 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 21 Dec 2023 09:30:56 -0800 Subject: [PATCH] Make --help output instant --- server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index c53882f6..6ef9005d 100644 --- a/server.py +++ b/server.py @@ -1,6 +1,8 @@ import os import warnings +from modules import shared + import accelerate # This early import makes Intel GPUs happy import modules.one_click_installer_check @@ -36,7 +38,6 @@ import yaml import modules.extensions as extensions_module from modules import ( chat, - shared, training, ui, ui_chat,