brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
nunchakuRoute and operate the Nunchaku repo skill for CUDA-accelerated 4-bit Diffusers image-generation workflows, quantized transformers, LoRA/adapters, and performance controls.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill when a task involves the nunchaku Python package: loading Nunchaku quantized .safetensors/.sft assets, replacing Diffusers transformer/UNet components, choosing INT4 vs FP4 assets, debugging CUDA/build/runtime issues, composing FLUX LoRAs, or adapting Nunchaku examples/tests into bounded user workflows.
Do not use this skill for generic Diffusers work that does not use Nunchaku, CPU-only image generation, unsupported GPU architectures, training new models, or Qwen custom LoRA workflows. Qwen custom LoRA support is documented as under development.
references/installation-build-runtime.md for source builds and compatibility repairs.scripts/inspect_nunchaku_install.py --device cuda:0 --pretty or the performance-and-memory checker before promising CUDA-specific behavior.| User task | Load |
|---|---|
| FLUX.1-dev/schnell/krea, FLUX Kontext, FLUX tools, FLUX v2 transformer replacement | sub-skills/flux-pipelines/SKILL.md |
| Qwen-Image, Qwen-Image-Edit, Qwen Lightning, Qwen 2509, Qwen ControlNet/offload | sub-skills/qwen-image-workflows/SKILL.md |
| Sana, Sana PAG, Z-Image, SDXL, SDXL-Turbo | sub-skills/sana-zimage-sdxl/SKILL.md |
| Cache, offload, FP16 attention, quantized T5 encoder, CUDA architecture/precision checks, speed/memory planning | sub-skills/performance-and-memory/SKILL.md |
| FLUX LoRA loading/composition/conversion, safetensor merge, IP-Adapter, PuLID | sub-skills/lora-and-adapters/SKILL.md |
NunchakuFluxTransformer2dModel, NunchakuFluxTransformer2DModelV2, NunchakuQwenImageTransformer2DModel, NunchakuSanaTransformer2DModel, NunchakuZImageTransformer2DModel, and NunchakuT5EncoderModel.nunchaku.caching.diffusers_adapters.apply_cache_on_pipe, nunchaku.models.ip_adapter.diffusers_adapters.apply_IPA_on_pipe, nunchaku.lora.flux.compose.compose_lora, nunchaku.lora.flux.nunchaku_converter.to_nunchaku, and nunchaku.merge_safetensors.merge_safetensors.nunchaku.utils.get_precision() when possible.references/repo-provenance.md — source commit, package version, evidence paths, and staleness signals.references/repo-routing-metadata.json — structured router metadata for managed repo-skill import tooling.references/api-and-entrypoints.md — public API, helper functions, CLI/module entry points, and native candidate map.references/installation-build-runtime.md — supported Python/CUDA/GPU/PyTorch combinations and source-build troubleshooting.references/troubleshooting.md — cross-cutting install/import, asset, backend, and workflow failure diagnoses.scripts/inspect_nunchaku_install.py — safe JSON probe for the current Python environment.tests/ and examples/ should be selected narrowly and run only after task-specific setup is clear.