Instructions to use codeShare/unstableRevolution_SDNQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use codeShare/unstableRevolution_SDNQ with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("codeShare/unstableRevolution_SDNQ", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signaturee42271d
-
Update checkpoints/Unquantized_checkpoints.txt
Verified signature1a6dca8 -
Create Unquantized_checkpoints.txt
Verified signaturea2b7487 -
Rename checkpoints/comfyUI__unstablerevolution_finetune_bf16.safetensors to checkpoints/comfyUI_unstablerevolution_finetune_bf16.safetensors
Verified signatureae6d4a3 -
Rename checkpoints/comfyUI_transformer.safetensors to checkpoints/comfyUI__unstablerevolution_finetune_bf16.safetensors
Verified signatureabc5eeb -
Rename checkpoints/unstablerevolution_flux_klein_4b_bf16.safetensors to checkpoints/flux_klein_4b_unstablerevolution_finetune_bf16.safetensors
Verified signatureb271f1a -
Rename checkpoints/unstableRevolutionF2K_AlphaF2K4BFp16_dit_only.safetensors to checkpoints/comfyUI_transformer.safetensors
Verified signature5de6f6d -
Update README.md
Verified signaturefcc9733 -
Update README.md
Verified signature023741e -
Update README.md
Verified signature0810429 -
Update README.md
Verified signatureb97c2be -
Update transformer/config.json
Verified signature209e36c -
Upload SDNQ Flux2 Klein fine-tuned transformer
Verified signature84b7af9 -
Rename unstableRevolutionF2K_AlphaF2K4BFp16_dit_only.safetensors to checkpoints/unstableRevolutionF2K_AlphaF2K4BFp16_dit_only.safetensors
Verified signatured5d78d8 -
Rename unstablerevolution_flux_klein_4b_bf16.safetensors to checkpoints/unstablerevolution_flux_klein_4b_bf16.safetensors
Verified signature9dccc2d -
Upload unstablerevolution_flux_klein_4b_bf16.safetensors with huggingface_hub
Verified signatureecf92da
-
Upload finetuned DiT-only safetensors: unstableRevolutionF2K_AlphaF2K4BFp16_dit_only.safetensors
Verified signature2f574bc -
initial commit
Verified signaturef6eb34d