mirror of https://github.com/vladmandic/automatic
parent
e4be2942bb
commit
a4671045b6
13
CHANGELOG.md
13
CHANGELOG.md
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
- update `rocm/windows`
|
||||
|
||||
## Update for 2026-01-23
|
||||
## Update for 2026-01-24
|
||||
|
||||
- **Features**
|
||||
- **caption** tab support for Booru tagger models, thanks @CalamitousFelicitousness
|
||||
|
|
@ -14,11 +14,12 @@
|
|||
- **Internal**
|
||||
- tagged release history: <https://github.com/vladmandic/sdnext/tags>
|
||||
each major for the past year is now tagged for easier reference
|
||||
- **cuda**: update to `torch==2.10.0`
|
||||
- **xpu**: update to `torch==2.10.0`
|
||||
- **openvino**: update to `torch==2.10.0` and `openvino==2025.4.1`
|
||||
- **rocm/linux**: update to `torch==2.10.0`
|
||||
*note*: may cause slow first startup
|
||||
- **torch** update
|
||||
*note*: may cause slow first startup/generate
|
||||
**cuda**: update to `torch==2.10.0`
|
||||
**xpu**: update to `torch==2.10.0`
|
||||
**openvino**: update to `torch==2.10.0` and `openvino==2025.4.1`
|
||||
**rocm/linux**: update to `torch==2.10.0`
|
||||
- further work on type consistency and type checking, thanks @awsr
|
||||
- add ui placeholders for future agent-scheduler work, thanks @ryanmeador
|
||||
- update package requirements
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 0db0040e7dc89d7755eae2855771323640a220e3
|
||||
Subproject commit cdddbbd17ac0f49fc4fccd5fac2446940294ca40
|
||||
|
|
@ -156,7 +156,7 @@ def parse_prompt(prompt: str | None) -> tuple[str, defaultdict[str, list[ExtraNe
|
|||
if prompt is None:
|
||||
return "", res
|
||||
if isinstance(prompt, list):
|
||||
shared.log.warning("parse_prompt was called with a list instead of a string", prompt)
|
||||
shared.log.warning(f"parse_prompt was called with a list instead of a string: {prompt}")
|
||||
return parse_prompts(prompt)
|
||||
|
||||
def found(m: re.Match[str]):
|
||||
|
|
|
|||
|
|
@ -422,7 +422,7 @@ class YoloRestorer(Detailer):
|
|||
pc.image_mask = [item.mask]
|
||||
pc.overlay_images = []
|
||||
# explictly disable for detailer pass
|
||||
pc.enable_hr = False
|
||||
pc.enable_hr = False
|
||||
pc.do_not_save_samples = True
|
||||
pc.do_not_save_grid = True
|
||||
# set recursion flag to avoid nested detailer calls
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,4 +1,3 @@
|
|||
import copy
|
||||
import torch
|
||||
|
||||
|
||||
|
|
@ -12,10 +11,10 @@ class SDNQLayer(torch.nn.Module):
|
|||
self.forward_func = forward_func
|
||||
|
||||
def dequantize(self: torch.nn.Module):
|
||||
if self.weight.__class__.__name__ == "SDNQTensor":
|
||||
self.weight = torch.nn.Parameter(self.weight.dequantize(), requires_grad=True)
|
||||
if self.weight.__class__.__name__ == "SDNQTensor": # pylint: disable=access-member-before-definition
|
||||
self.weight = torch.nn.Parameter(self.weight.dequantize(), requires_grad=True) # pylint: disable=attribute-defined-outside-init
|
||||
elif hasattr(self, "sdnq_dequantizer"):
|
||||
self.weight = torch.nn.Parameter(self.sdnq_dequantizer(self.weight, self.scale, self.zero_point, self.svd_up, self.svd_down, skip_quantized_matmul=self.sdnq_dequantizer.use_quantized_matmul), requires_grad=True)
|
||||
self.weight = torch.nn.Parameter(self.sdnq_dequantizer(self.weight, self.scale, self.zero_point, self.svd_up, self.svd_down, skip_quantized_matmul=self.sdnq_dequantizer.use_quantized_matmul), requires_grad=True) # pylint: disable=attribute-defined-outside-init
|
||||
del self.sdnq_dequantizer, self.scale, self.zero_point, self.svd_up, self.svd_down
|
||||
self.__class__ = self.original_class
|
||||
del self.original_class, self.forward_func
|
||||
|
|
|
|||
|
|
@ -23,15 +23,13 @@
|
|||
"format": ". venv/bin/activate && pre-commit run --all-files",
|
||||
"format-win": "venv\\scripts\\activate && pre-commit run --all-files",
|
||||
"eslint": "eslint . javascript/",
|
||||
"eslint-win": "eslint . javascript/ --rule \"@stylistic/linebreak-style: off\"",
|
||||
"eslint-ui": "cd extensions-builtin/sdnext-modernui && eslint . javascript/",
|
||||
"eslint-ui-win": "cd extensions-builtin/sdnext-modernui && eslint . javascript/ --rule \"@stylistic/linebreak-style: off\"",
|
||||
"ruff": ". venv/bin/activate && ruff check",
|
||||
"ruff-win": "venv\\scripts\\activate && ruff check",
|
||||
"pylint": ". venv/bin/activate && pylint --disable=W0511 *.py modules/ pipelines/ scripts/ extensions-builtin/ | grep -v '^*'",
|
||||
"pylint-win": "venv\\scripts\\activate && pylint --disable=W0511 *.py modules/ pipelines/ scripts/ extensions-builtin/",
|
||||
"lint": "npm run format && npm run eslint && npm run eslint-ui && npm run ruff && npm run pylint | grep -v TODO",
|
||||
"lint-win": "npm run format-win && npm run eslint-win && npm run eslint-ui-win && npm run ruff-win && npm run pylint-win",
|
||||
"lint-win": "npm run format-win && npm run eslint && npm run eslint-ui && npm run ruff-win && npm run pylint-win",
|
||||
"test": ". venv/bin/activate; python launch.py --debug --test",
|
||||
"todo": "grep -oIPR 'TODO.*' *.py modules/ pipelines/ | sort -u",
|
||||
"debug": "grep -ohIPR 'SD_.*?_DEBUG' *.py modules/ pipelines/ | sort -u"
|
||||
|
|
|
|||
2
wiki
2
wiki
|
|
@ -1 +1 @@
|
|||
Subproject commit e18041f2bab7709706fe9205a8f27695e0a5af8f
|
||||
Subproject commit af2c296a1b33f6cfd1853521e562e44662998331
|
||||
Loading…
Reference in New Issue