Instructions to use aipicasso/cool-japan-diffusion-2-1-0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aipicasso/cool-japan-diffusion-2-1-0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("aipicasso/cool-japan-diffusion-2-1-0", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
🚩 Report
Microsoft Defender is flagging this model as containing Win32 Trojan Sirefef. It might be a false positive, as it happened before with other models, but pickle scanner returned an error while scanning, and it has no pickle flag here on HF. Please convert it to Safetensor and double check the upload, as I'm sure the guys behind the model worked really hard to make it available to the community.
Thank you for your reporting. I'll convert the model into safetensor format.
I have converted the model into safetensors format. Here
I used safetensors version above, but still occuerd "Error verifying pickled file"
The error log said "_pickle.UnpicklingError: invalid load key, '\xc1'."
Sorry. I will check the problem on Windows 11. Then, I will fix it.