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
Fix transformer/config.json: 14B dims should be 1.3B
#1
by FartingBackwards - opened
The 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.
FartingBackwards changed pull request title from Update transformer/config.json to Fix transformer/config.json: 14B dims should be 1.3B
SsyzeChen changed pull request status to merged