10 Commits
Author SHA1 Message Date
dengdong b5c7feb36f fix: crash by illegal memory access (#782)
* fix crash by illegal memory access

* add doc string
2026-01-25 17:23:26 -08:00
dengdong 6b91ca37b1 feat: for z-image fp16 (Turing GPU) support (#758)
* for z-image fp16 support

* cast q_norm and k_norm weight to fp16 for turing gpu

* add metirc of int4-fp16 for nunchaku-z-image-turbo-lora
2026-01-11 20:17:08 -08:00
dengdong a013a86407 fix: adapt comfyui version for qwen-image models (#761) 2026-01-07 01:16:13 -08:00
dengdong c43921f00b feat: fuse qkv/norm/rope in z-image attention module (#766)
* fuse qkv/norm/rope in z-image attention module

* chore: bump the version

* update
2026-01-06 23:30:24 -08:00
dengdong 3f509b6f09 feat: support z-image-turbo (#713)
* [feat] add nodes for z-image

* updates for fp4 state dict loading

* unit test case for z-image-turbo text-to-image workflow

* update documentation templates for z-image

* minor fix: remove some warnings and invalid attribute access during model loading

* drop down res4lyf test case

* style: make linter happy

* modify test case metrics

* add notes for maintenance

* add github url in notes

* simplify the notes
2025-12-23 22:00:01 -05:00
dengdong 23fd4063e4 fix: QwenImage with RES4LYF sampler (#600)
* try to fix issue #549

* align device with offload option

* offload transformer blocks while not affecting model device

* style: make linter happy

* add test

* style: make linter happy

* no need to redownload the qwen-image files

* style: make linter happy

* resolve missing sub_folder item in yaml

* update

* rename the workflow

* style: make linter happy
2025-10-14 01:34:15 -04:00
82dfce256f feat: new tests for nunchaku comfyui from lmxyy & ttio2tech, tested and verified on comfyui 0.3.63 upstream and 0.3.60 LTS (#641) (#650)
* bump requires-python

* model patcher now implements everything it needs for comfyui

* index

* Support LTS and Vanilla ComfyUI

* Fix version string when installed as package (not material)

* style: make linter happy

* update init.py

* Update nunchaku index

* Bump dependencies, include config and workflows when installed using pip/uv

* Update installation instructions to include ComfyUI LTS

* Update requirements for nunchaku>=1.0.1

* Fix torch210 key

* Fix pep 508 spec

* Improve tests (still more to go)

* Fix comfyui_controlnet_aux flaws

* Update tests (all should pass)

* Organize the tests in this runner

* Update contribution guide

* Install uv

* Dependencies now resolve with correct conflicts with uv's most stringent resolution

* Mediapipe hasn't been built for 3.13 yet, so we can't use it here

* Remove controlnet-aux dep

* make linter happy

* make the linter happy

* optimize the loading

* update installation

* update

* update contribution guide

* update qwenimage

* need to figure out why the toml parsing doesn't owk

* update

* update

* update

* style: make linter happy

* update

* add pulid requirement

* update docs

* update

* update

* update

* update

* update

* organize the pyproject.toml

* update

* update

* update

* passing all tests

* update

* update

* update

* update

* update

* remove a useless class

* update

* update

* fix a typo

---------

Co-authored-by: doctorpangloss <@hiddenswitch.com>
Co-authored-by: doctorpangloss <2229300+doctorpangloss@users.noreply.github.com>
2025-10-14 00:46:20 -04:00
wallen0322andMuyang Li da99834fd6 fix: fix the ControlNet of Qwen-Image (#537)
* Update qwenimage.py fix controlnet

* Update qwenimage.py fix controlnet

* Update qwenimage.py

* Update qwenimage.py

* Update qwenimage.py

* Update qwenimage.py

* Update qwenimage.py-cn_standardized_nowrap

* Update qwenimage.py

* style: make linter happy

---------

Co-authored-by: Muyang Li <lmxyy1999@foxmail.com>
2025-09-06 01:28:11 -04:00
Muyang Li a805352a2f feat: support CPU offloading for Qwen-Image to reduce the VRAM usage (#520)
* update

* offloading implemented; start testing

* check why the results is not correct

* finished the offloading of ComfyUI; start testing it on 5090

* update
2025-09-04 09:52:16 -04:00
Muyang Li 10c9947159 feat: Qwen-Image support (#463)
* update

* add qwen-image models

* override comfyui class for nunchaku

* update

* finished model loading

* style: make linter happy

* update

* start debugging

* style: make linter happy

* fix the init error

* model loading done

* need to figure out why the precision does not match in comfyui

* almost done

* add the example workflow

* style: make linter happy

* add some docs

* runnable on 5090

* leave the docs to tomorrow

* update dependencies

* style: make linter happy

* add the docstring

* update the workflow docs

* use 0.3.44 for tests

* add more api docs

* add the v1.0.0 info

* update requirements

* style: make linter happy
2025-08-23 13:51:15 -04:00