From c07e7c765d047121e75563321290e51eeca81ec2 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Sat, 14 Sep 2024 10:38:06 -0400 Subject: [PATCH] flag backend=original --- CHANGELOG.md | 23 ++++++++++++----------- modules/shared.py | 4 ++++ 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d404b9b08..386e248ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,20 +2,21 @@ ## Update for 2024-09-14 -- hf force logout/login on token change -- flux avoid unet load if unchanged -- flux mark specific unet as unavailable if load failed -- xyz grid full refactor -- xyz grid multi-mode: *selectable-script* and *alwayson-script* -- xyz grid allow usage combined with other scripts -- xyz grid allow **unet** selection +- hf force logout/login on token change +- flux avoid unet load if unchanged +- flux mark specific unet as unavailable if load failed +- xyz grid full refactor +- xyz grid multi-mode: *selectable-script* and *alwayson-script* +- xyz grid allow usage combined with other scripts +- xyz grid allow **unet** selection - xyz grid allow passing **model args** directly: allowed params will be checked against models call signature - example: `width=768; height=512, width=512; height=768` + example: `width=768; height=512, width=512; height=768` - xyz grid allow passing **processing args** directly: - params are set directly on main processing object and can be known or new params - example: `steps=10, steps=20; test=unknown` -- minor ui fixes + params are set directly on main processing object and can be known or new params + example: `steps=10, steps=20; test=unknown` +- backend=original is now marked as in maintenance-only mode +- minor ui fixes ## Update for 2024-09-13 diff --git a/modules/shared.py b/modules/shared.py index e675ed39b..e70cb02f4 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -1060,6 +1060,10 @@ if cmd_opts.use_xformers: opts.data['uni_pc_lower_order_final'] = opts.schedulers_use_loworder # compatibility opts.data['uni_pc_order'] = opts.schedulers_solver_order # compatibility log.info(f'Engine: backend={backend} compute={devices.backend} device={devices.get_optimal_device_name()} attention="{opts.cross_attention_optimization}" mode={devices.inference_context.__name__}') +if not native: + log.warning('Backend=original is in maintainance-only mode') + opts.diffusers_offload_mode = 'none' + try: log.info(f'Device: {print_dict(devices.get_gpu_info())}') except Exception as ex: