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", torch_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:
- 653ea8892692ce9efd96a7e5768f1ce1bfe4955f9371dd31e5e5d69a03533807
- Size of remote file:
- 195 MB
- SHA256:
- b4653ad27a43d0f8b47b510fa4d2c60771ca162256f1a53825b90517c8354f94
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.