update gguf notes and lint

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2024-10-11 09:53:46 -04:00
parent c2ff8a5ec8
commit f5253dad95
6 changed files with 35 additions and 29 deletions
+6 -5
View File
@@ -7,9 +7,13 @@ fail-on=
fail-under=10
ignore=CVS
ignore-paths=/usr/lib/.*$,
modules/apg,
modules/control/proc,
modules/control/units,
modules/ctrlx,
modules/dcsolver,
modules/dml,
modules/ggml,
modules/hidiffusion,
modules/hijack,
modules/intel/ipex,
@@ -18,17 +22,14 @@ ignore-paths=/usr/lib/.*$,
modules/ldsr,
modules/onnx_impl,
modules/pag,
modules/prompt_parser_xhinker.py,
modules/rife,
modules/taesd,
modules/todo,
modules/unipc,
modules/xadapter,
modules/dcsolver,
modules/ctrlx,
modules/vdm,
modules/apg,
modules/xadapter,
repositories,
modules/prompt_parser_xhinker.py,
extensions-builtin/sd-webui-agent-scheduler,
extensions-builtin/sd-extension-chainner/nodes,
extensions-builtin/sdnext-modernui/node_modules,
+17 -16
View File
@@ -3,26 +3,27 @@ exclude = [
".git",
".ruff_cache",
".vscode",
"modules/hidiffusion",
"modules/hijack",
"modules/k-diffusion",
"modules/ldsr",
"modules/pag",
"modules/rife",
"modules/taesd",
"modules/todo",
"modules/unipc",
"modules/xadapter",
"modules/dcsolver",
"modules/vdm",
"modules/intel/openvino",
"modules/intel/ipex",
"modules/segmoe",
"modules/apg",
"modules/control/proc",
"modules/control/units",
"modules/prompt_parser_xhinker.py",
"modules/dcsolver",
"modules/ggml",
"modules/hidiffusion",
"modules/hijack",
"modules/intel/ipex",
"modules/intel/openvino",
"modules/k-diffusion",
"modules/ldsr",
"modules/pag",
"modules/postprocess/aurasr_arch.py",
"modules/prompt_parser_xhinker.py",
"modules/rife",
"modules/segmoe",
"modules/taesd",
"modules/todo",
"modules/unipc",
"modules/vdm",
"modules/xadapter",
"repositories",
"extensions-builtin/sd-extension-chainner/nodes",
"extensions-builtin/sd-webui-agent-scheduler",
+8 -6
View File
@@ -1,8 +1,8 @@
# Change Log for SD.Next
## Update for 2024-10-09
## Update for 2024-10-11
### Highlights for 2024-10-09
### Highlights for 2024-10-11
- **Reprocess**: New workflow options that allow you to generate at lower quality and then
reprocess at higher quality for select images only or generate without hires/refine and then reprocess with hires/refine
@@ -12,13 +12,14 @@
- Integration with [Ctrl+X](https://github.com/genforce/ctrl-x) which allows for control of **structure and appearance** without the need for extra models,
[APG: Adaptive Projected Guidance](https://arxiv.org/pdf/2410.02416) for optimal **guidance** control,
[LinFusion](https://github.com/Huage001/LinFusion) for on-the-fly distillation of any sd15/sdxl model
- Several of [Flux.1](https://huggingface.co/black-forest-labs/FLUX.1-dev) optimizations and new quantization types
- Auto-detection of best available **device/dtype** settings for your platform and GPU reduces neeed for manual configuration
- Full rewrite of **sampler options**, not far more streamlined with tons of new options to tweak scheduler behavior
- Improved **LoRA** detection and handling for all supported models
And other goodies like multiple *XYZ grid* improvements, additional *Flux ControlNets*, additional *Interrogate models*, better *LoRA tags* support, and more...
### Details for 2024-10-09
### Details for 2024-10-11
- **reprocess**
- new top-level button: reprocess latent from your history of generated image(s)
@@ -115,7 +116,10 @@ And other goodies like multiple *XYZ grid* improvements, additional *Flux Contro
- can reduce vram use for high resolutions and increase performance
- *note*: use lower cfg scales as typical for distilled models
- **flux**
- [Flux](https://huggingface.co/black-forest-labs/FLUX.1-dev)
- see [wiki](https://github.com/vladmandic/automatic/wiki/FLUX#quantization) for details on `gguf`
- support for `gguf` binary format for loading unet/transformer component
- support for `gguf` binary format for loading t5/text-encoder component: requires transformers pr
- avoid unet load if unchanged
- mark specific unet as unavailable if load failed
- fix diffusers local model name parsing
@@ -205,8 +209,6 @@ And other goodies like multiple *XYZ grid* improvements, additional *Flux Contro
- massive log cleanup
- full lint pass
- improve inference mode handling
- **experimental**
- flux t5 load from gguf: requires transformers pr
## Update for 2024-09-13
+2 -1
View File
@@ -152,7 +152,8 @@ def load_flux_gguf(file_path):
skipped += 1
continue
applied += 1
sd_hijack_accelerate.hijack_set_module_tensor_simple(transformer, param_name, device=0, value=param)
sd_hijack_accelerate.hijack_set_module_tensor_simple(transformer, tensor_name=param_name, value=param, device=0)
state_dict[param_name] = None
shared.log.debug(f'Load model: type=Unet/Transformer applied={applied} skipped={skipped} stats={stats}')
return transformer, None
+1
View File
@@ -37,3 +37,4 @@ class ExtraNetworksPageHistory(ui_extra_networks.ExtraNetworksPage):
items = [l for l in shared.history.latents if l.name == name]
if len(items) > 0:
return items[0].info
return ''
+1 -1
Submodule wiki updated: fa80fa0071...0f7bea9edf