Instructions to use ModelsLab/lcm-chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ModelsLab/lcm-chinese with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ModelsLab/lcm-chinese", 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

- Xet hash:
- 3ef84038b6fa75eea0ecf36238eeb9a5af15286799968809877c566055789fcd
- Size of remote file:
- 4.03 MB
- SHA256:
- e170c5133e89f08bd4709233df59f85e06f18194b41487346841a2df1cff98b5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.