fix nunchaku download links for windows

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-08-04 15:18:02 -04:00
parent 49e3ff163a
commit 79db2f28d1
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -5,6 +5,7 @@
- **Models**
- [Qwen-Image](https://qwenlm.github.io/blog/qwen-image/)
new image foundational model with 20B params and using Qwen-2.5 as text-encoder!
available for text-to-image workflows, image-editing workflows will follow soon
*note*: this model is almost 2x the size of Flux, quantization and offloading are highly recommended!
available via *networks -> models -> reference*
- [FLUX.1-Krea-Dev](https://www.krea.ai/blog/flux-krea-open-source-release)
@@ -61,6 +62,7 @@
- fix api progress reporting endpoint
- fix openvino backend failing to compile
- fix nunchaku fallback on unsupported model
- fix nunchaku windows download links
- reapply offloading on ipadapter load
- api set default script-name
- avoid forced gc and rely on thresholds
+2 -1
View File
@@ -51,8 +51,9 @@ def install_nunchaku():
suffix = 'x86_64' if arch == 'linux' else 'win_amd64'
url = os.environ.get('NUNCHAKU_COMMAND', None)
if url is None:
arch = f'{arch}_' if arch == 'linux' else ''
url = f'https://huggingface.co/mit-han-lab/nunchaku/resolve/main/nunchaku-{ver}'
url += f'+torch{torch_ver}-cp{python_ver}-cp{python_ver}-{arch}_{suffix}.whl'
url += f'+torch{torch_ver}-cp{python_ver}-cp{python_ver}-{arch}{suffix}.whl'
cmd = f'install --upgrade {url}'
# pip install https://huggingface.co/mit-han-lab/nunchaku/resolve/main/nunchaku-0.2.0+torch2.6-cp311-cp311-linux_x86_64.whl
log.debug(f'Nunchaku: install="{url}"')