Instructions to use HighCWu/Jojo_lora_4bit_training_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use HighCWu/Jojo_lora_4bit_training_v2 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("black-forest-labs/FLUX.1-Kontext-dev,HighCWu/FLUX.1-Kontext-dev-bnb-hqq-4bit", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("HighCWu/Jojo_lora_4bit_training_v2") 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
- Local Apps Settings
- Draw Things
Download example-3.png from HighCWu/Jojo_lora_4bit_training_v2: direct link, hf CLI and curl.
- Browser
- Download file 4.42 MB
-
https://huggingface.co/HighCWu/Jojo_lora_4bit_training_v2/resolve/main/example-3.png
- Command line
-
hf download hf://HighCWu/Jojo_lora_4bit_training_v2/example-3.png
-
curl -L -o example-3.png https://huggingface.co/HighCWu/Jojo_lora_4bit_training_v2/resolve/main/example-3.png
4.42 MB

- Xet hash:
- 4da29f3a7568d18fcd27a283dc1e7bcaa2df93463dfbd00f75571590e5c280c0
- Size of remote file:
- 4.42 MB
- SHA256:
- 6cf8ea15932c64ed09e95057d7ea0d5d732262302a44d4c9e19398f8448506b1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.