mirror of
https://github.com/vladmandic/sdnext.git
synced 2026-10-11 22:49:59 +00:00
update requirements and lint
Signed-off-by: Vladimir Mandic <[email protected]>
This commit is contained in:
+6
-7
@@ -1,8 +1,8 @@
|
||||
# Change Log for SD.Next
|
||||
|
||||
## Update for 2026-09-12
|
||||
## Update for 2026-09-13
|
||||
|
||||
### Highlights for 2026-09-12
|
||||
### Highlights for 2026-09-13
|
||||
|
||||
*What's New*? Well, code-wise, this is a big one...
|
||||
First, a-lot-of-optimizations:
|
||||
@@ -15,17 +15,15 @@ First, a-lot-of-optimizations:
|
||||
|
||||
And some cool new stuff and models:
|
||||
- **DLSSv5** integration
|
||||
- New models:
|
||||
**Anima 2.9B**, **LLaDa-Image**
|
||||
- And few cloud models:
|
||||
*Google's Gemini, NanoBanana, Veo, Omni* and *X.AI's Grok*
|
||||
- New models: **Anima 2.9B**, **LLaDa-Image**
|
||||
- And few cloud models: *Google's Gemini, NanoBanana, Veo, Omni* and *X.AI's Grok*
|
||||
- Some (light) UI restyling
|
||||
|
||||
Plus inevitable bug-fixes...
|
||||
|
||||
[Home](https://vladmandic.github.io/sdnext/) | [ChangeLog](https://github.com/vladmandic/automatic/blob/master/CHANGELOG.md) | [Docs](https://vladmandic.github.io/sdnext-docs/) | [Discord](https://discord.com/invite/sd-next-federal-batch-inspectors-1101998836328697867) | [Sponsor](https://github.com/sponsors/vladmandic)
|
||||
|
||||
### Details for 2026-09-12
|
||||
### Details for 2026-09-13
|
||||
|
||||
- **Models**
|
||||
- [Anima 2.9B Preview v1](https://huggingface.co/yeoj34760/Anima-2.9B)
|
||||
@@ -110,6 +108,7 @@ Plus inevitable bug-fixes...
|
||||
*note*: requires grok api key
|
||||
- remove `/redocs` as `/docs` are primary api docs
|
||||
- rebuild docs site index
|
||||
- **ui**: ability to filter samplers and upscalers, thanks @emecii
|
||||
- **Wiki/Docs**:
|
||||
- new articles: *Attention, Modular-Pipelines*
|
||||
- updated: *LoRA, MiniMax*
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@
|
||||
"dev:kanvas": "cd extensions-builtin/sdnext-kanvas && build --profile development",
|
||||
"dev:core": "build --profile development --config ui/.build.json",
|
||||
"ruff": ". venv/bin/activate && ruff check",
|
||||
"pylint": ". venv/bin/activate && pylint --disable fixme *.py modules/ pipelines/ scripts/ extensions-builtin/ | grep -v '^*'",
|
||||
"pylint": ". venv/bin/activate && pylint --disable fixme *.py modules pipelines scripts extensions-builtin",
|
||||
"pyright": ". venv/bin/activate && pyright --threads 4",
|
||||
"ty": ". venv/bin/activate && ty check --force-exclude",
|
||||
"codespell": ". venv/bin/activate && codespell",
|
||||
|
||||
+2
-3
@@ -113,7 +113,6 @@ main.ignore-paths=[
|
||||
"modules/flash_attn_triton_amd",
|
||||
"modules/ggml",
|
||||
"modules/hidiffusion",
|
||||
"modules/hijack/ddpm_edit.py",
|
||||
"modules/intel",
|
||||
"modules/intel/ipex",
|
||||
"modules/framepack/pipeline",
|
||||
@@ -150,7 +149,6 @@ main.ignore-paths=[
|
||||
"scripts/consistory",
|
||||
"scripts/ctrlx",
|
||||
"scripts/daam",
|
||||
"scripts/demofusion",
|
||||
"scripts/differential_diffusion.py",
|
||||
"scripts/freescale",
|
||||
"scripts/infiniteyou",
|
||||
@@ -160,17 +158,18 @@ main.ignore-paths=[
|
||||
"scripts/mod",
|
||||
"scripts/pixelsmith",
|
||||
"scripts/pulid",
|
||||
"scripts/xadapter",
|
||||
"extensions-builtin/sd-extension-chainner/nodes",
|
||||
"extensions-builtin/sdnq",
|
||||
]
|
||||
main.ignore-patterns=[
|
||||
"/usr/lib/.*",
|
||||
".*test*.py$",
|
||||
".*_model.py$",
|
||||
".*_arch.py$",
|
||||
".*_model_arch.py*",
|
||||
".*_model_arch_v2.py$",
|
||||
".*\\.pyi$",
|
||||
".*/site-packages/.*",
|
||||
]
|
||||
main.ignored-modules=""
|
||||
main.jobs=4
|
||||
|
||||
+3
-3
@@ -30,13 +30,13 @@ peft==0.20.0
|
||||
httpx==0.28.1
|
||||
requests==2.34.2
|
||||
tqdm==4.70.0
|
||||
accelerate==1.14.0
|
||||
accelerate==1.15.0
|
||||
einops==0.8.2
|
||||
huggingface_hub==1.30.0
|
||||
huggingface_hub==1.31.0
|
||||
hf_xet==1.6.0
|
||||
pandas==2.3.1
|
||||
protobuf==7.36.1
|
||||
pytorch_lightning==2.6.5
|
||||
pytorch_lightning==2.6.6
|
||||
urllib3==1.26.19
|
||||
Pillow==12.2.0
|
||||
timm==1.0.29
|
||||
|
||||
@@ -152,13 +152,13 @@ def on_update(selected):
|
||||
class AutocompleteScript(scripts_manager.Script):
|
||||
video_capable = scripts_manager.AlwaysVisible
|
||||
|
||||
def show(self, is_img2img):
|
||||
def show(self, is_img2img): # pylint: disable=unused-argument
|
||||
return scripts_manager.AlwaysVisible
|
||||
|
||||
def title(self):
|
||||
return "Tag Autocomplete"
|
||||
|
||||
def ui(self, is_img2img):
|
||||
def ui(self, is_img2img): # pylint: disable=unused-argument
|
||||
initial_names = get_all_names()
|
||||
initial_enabled = list(shared.opts.data.get('autocomplete_enabled', []))
|
||||
|
||||
|
||||
@@ -146,7 +146,7 @@ class DemoFusionSDXLPipeline(DiffusionPipeline, FromSingleFileMixin, LoraLoaderM
|
||||
# textual inversion: procecss multi-vector tokens if necessary
|
||||
prompt_embeds_list = []
|
||||
prompts = [prompt, prompt_2]
|
||||
for prompt, tokenizer, text_encoder in zip(prompts, tokenizers, text_encoders):
|
||||
for prompt, tokenizer, text_encoder in zip(prompts, tokenizers, text_encoders): # pylint: disable=redefined-argument-from-local
|
||||
if isinstance(self, TextualInversionLoaderMixin):
|
||||
prompt = self.maybe_convert_prompt(prompt, tokenizer)
|
||||
|
||||
@@ -207,7 +207,7 @@ class DemoFusionSDXLPipeline(DiffusionPipeline, FromSingleFileMixin, LoraLoaderM
|
||||
uncond_tokens = [negative_prompt, negative_prompt_2]
|
||||
|
||||
negative_prompt_embeds_list = []
|
||||
for negative_prompt, tokenizer, text_encoder in zip(uncond_tokens, tokenizers, text_encoders):
|
||||
for negative_prompt, tokenizer, text_encoder in zip(uncond_tokens, tokenizers, text_encoders): # pylint: disable=redefined-argument-from-local
|
||||
if isinstance(self, TextualInversionLoaderMixin):
|
||||
negative_prompt = self.maybe_convert_prompt(negative_prompt, tokenizer)
|
||||
|
||||
@@ -348,7 +348,7 @@ class DemoFusionSDXLPipeline(DiffusionPipeline, FromSingleFileMixin, LoraLoaderM
|
||||
# DemoFusion specific checks
|
||||
if max(height, width) % 1024 != 0:
|
||||
log.error(f'DemoFusion: resolution={width}x{height} long side must be divisible by 1024')
|
||||
return None
|
||||
return
|
||||
|
||||
if num_images_per_prompt != 1:
|
||||
log.warning('DemoFusion: number of images per prompt is not support and will be ignored')
|
||||
|
||||
@@ -409,7 +409,7 @@ class UltimateSDUpscaleScript(scripts_manager.Script):
|
||||
def title(self):
|
||||
return "SD Ultimate Upscale"
|
||||
|
||||
def show(self, is_img2img):
|
||||
def show(self, is_img2img): # pylint: disable=unused-argument
|
||||
return True
|
||||
|
||||
def ui(self, is_img2img): # pylint: disable=unused-argument
|
||||
|
||||
Reference in New Issue
Block a user