Instructions to use yhx12/DiffThinker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use yhx12/DiffThinker 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("yhx12/DiffThinker", 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
-
Improve model card for DiffThinker: Add metadata, links, and usage details (#1)
Verified signature- Improve model card for DiffThinker: Add metadata, links, and usage details (938263e73b8c21b82d1875067db6287304281cd5) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>3821124
-
Update README.md
Verified signature928f18d -
Update README.md
Verified signaturebb0cd5e -
Update README.md
Verified signature7aa62ca -
Update README.md
Verified signatured281b39
-
Upload folder using huggingface_hub
Verified signaturee144f35 -
Update README.md
Verified signaturef422686 -
Update README.md
Verified signature9158172 -
Upload README.md with huggingface_hub
Verified signature29645b8 -
Update README.md
Verified signature# DiffThinker: Towards Generative Multimodal Reasoning with Diffusion Models <a href="https://diffthinker-project.github.io/"><img src="https://img.shields.io/badge/%F0%9F%8C%90%20Project-Page-2563eb" alt="Project Page"></a>b42b49e -
Upload folder using huggingface_hub
Verified signaturedec67a0 -
Upload folder using huggingface_hub
Verified signature5b551e5 -
Upload folder using huggingface_hub
Verified signature21516ab -
Create README.md
Verified signature# DiffThinker: Towards Generative Multimodal Reasoning with Diffusion Models <a href="https://diffthinker-project.github.io/"><img src="https://img.shields.io/badge/%F0%9F%8C%90%20Project-Page-2563eb" alt="Project Page"></a>b829697 -
initial commit
Verified signature71a1412