Instructions to use ByteDance/Bernini-R-1.3B-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ByteDance/Bernini-R-1.3B-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ByteDance/Bernini-R-1.3B-Diffusers", 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
-
Update transformer/config.json
Verified signatureThe committed transformer/config.json describes the 14B architecture, but the weights in this repo are the 1.3B checkpoint. This PR corrects the architecture fields to match the 1.3B weights.3fef913
-
Upload folder using huggingface_hub
Verified signature3b0d3f5 -
Delete files *.png with huggingface_hub
Verified signaturee896861 -
Upload folder using huggingface_hub
Verified signature226dfbf -
Upload folder using huggingface_hub
Verified signatureb1de245
-
initial commit
Verified signaturedd5be28