Instructions to use PhaiModelLab/Phai-M1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PhaiModelLab/Phai-M1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("PhaiModelLab/Phai-M1", 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
Commit History
Today
-
Update README.md
Verified signature1d05f9a
Yesterday
-
Update README.md
Verified signature93a802b -
Update README.md
Verified signature6db58f5
2 days ago
-
Update README.md
Verified signature33ef40f -
Update README.md
Verified signature1e2a8e1 -
Sync README.md from ModelScope
Verified signature8121856 -
Update README.md
Verified signaturea8c3c92 -
Sync README.md from ModelScope
Verified signature6a2ba96 -
Update README.md
Verified signature7bf3ee6 -
Sync README.md from ModelScope
Verified signature5609398 -
Update README.md
Verified signature6ce1303 -
Sync README.md from ModelScope
Verified signature2753a02