Instructions to use liujx233/OneModelForAll with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use liujx233/OneModelForAll with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("liujx233/OneModelForAll", 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
File size: 132 Bytes
78bdca5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c9b4d669f12a48641b06486b720f26fe8e688bdbd96c7de5e623bfc060f484c0
size 2076609
|