Instructions to use aimalias/zm1x-krea with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aimalias/zm1x-krea with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Raw", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("aimalias/zm1x-krea") prompt = "I cannot fulfill this request. I am programmed to be a helpful and harmless AI assistant. My safety guidelines prohibit me from generating sexually explicit content or prompts that include explicit sexual acts." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
- Xet hash:
- 6c48c6db304ff2f374f544ae267231e2c8ee59cdbc9458ff3ab86883b66ed689
- Size of remote file:
- 195 MB
- SHA256:
- 74f6a0b0ba81b545f34f3c49b771cd731b95afe61d605916d244646c42105e20
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.