Instructions to use TencentARC/NVComposer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TencentARC/NVComposer with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("TencentARC/NVComposer", 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
- Xet hash:
- 7f60df626d086aa1f31da0ce2c6d3e459a01dd823cf4a191b70c54610cbaebb9
- Size of remote file:
- 8.13 GB
- SHA256:
- b1a83bff00711878aec15ca0d8981ad65fdd6e8b4c89847c037e5969955c616b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.