Instructions to use openbmb/VisCPM-Paint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use openbmb/VisCPM-Paint with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("openbmb/VisCPM-Paint", 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
Download unet/diffusion_pytorch_model.bin from openbmb/VisCPM-Paint: direct link, hf CLI and curl.
- Browser
- Download file 3.46 GB
-
https://huggingface.co/openbmb/VisCPM-Paint/resolve/main/unet/diffusion_pytorch_model.bin
- Command line
-
hf download hf://openbmb/VisCPM-Paint/unet/diffusion_pytorch_model.bin
-
curl -L -o diffusion_pytorch_model.bin https://huggingface.co/openbmb/VisCPM-Paint/resolve/main/unet/diffusion_pytorch_model.bin
3.46 GB
- Xet hash:
- 3604f658bcb33d6ed9b6fcf57fcf8347afb0c6c0abb9ebb8c2da9d0267be784f
- Size of remote file:
- 3.46 GB
- SHA256:
- 59f21267e4f9599440a6d8bcfb6bc4d0453badc395be8064cc89e16654b4e121
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.