This commit is contained in:
Haoming 2026-05-01 14:26:16 +08:00
parent 1efa8c5564
commit ae03079572
3 changed files with 0 additions and 4 deletions

View File

@ -49,8 +49,6 @@ parser.add_argument("--autolaunch", action="store_true", help="open the webui UR
parser.add_argument("--theme", type=str, help="launches the UI with light or dark theme", default=None)
parser.add_argument("--use-textbox-seed", action="store_true", help="use textbox for seeds in UI (no up/down, but possible to input long seeds)", default=False)
parser.add_argument("--disable-console-progressbars", action="store_true", help="do not output progressbars to console", default=False)
parser.add_argument("--enable-console-prompts", action="store_true", help="does not do anything", default=False) # Legacy compatibility, use as default value shared.opts.enable_console_prompts
parser.add_argument("--disable-safe-unpickle", action="store_true", help="disable checking pytorch models for malicious code", default=False)
parser.add_argument("--api", action="store_true", help="use api=True to launch the API together with the webui (use --nowebui instead for only the API)")
parser.add_argument("--api-auth", type=str, help='Set authentication for API like "username:password"; or comma-delimit multiple like "u1:p1,u2:p2,u3:p3"', default=None)
parser.add_argument("--api-log", action="store_true", help="use api-log=True to enable logging of all API requests")

View File

@ -12,7 +12,6 @@ def shush():
logging.getLogger("torch.distributed.nn").setLevel(logging.ERROR)
logging.getLogger("transformers.dynamic_module_utils").setLevel(logging.ERROR)
logging.getLogger("xformers").addFilter(lambda record: "triton" not in record.getMessage().lower())
warnings.filterwarnings(action="ignore", category=DeprecationWarning, module="pytorch_lightning")
warnings.filterwarnings(action="ignore", category=UserWarning, module="torchvision.transforms.functional_tensor")
warnings.filterwarnings(action="ignore", category=UserWarning, module="torchvision")
startup_timer.record("filter logging")

View File

@ -15,7 +15,6 @@ inflection==0.5.1
joblib==1.5.3
kornia==0.6.12
lark==1.2.2
lightning==2.5.6
numpy==2.3.5
omegaconf==2.2.3
opencv-python==4.10.0.84