Instructions to use tzvc/sd-bib with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tzvc/sd-bib with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tzvc/sd-bib", dtype=torch.bfloat16, device_map="cuda") prompt = "sdbib" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download vae/config.json from tzvc/sd-bib: direct link, hf CLI and curl.
- Browser
- Download file 703 Bytes
-
https://huggingface.co/tzvc/sd-bib/resolve/refs%2Fpr%2F2/vae/config.json
- Command line
-
hf download hf://tzvc/sd-bib@refs/pr/2/vae/config.json
-
curl -L -o config.json https://huggingface.co/tzvc/sd-bib/resolve/refs%2Fpr%2F2/vae/config.json
703 Bytes
| { | |
| "_class_name": "AutoencoderKL", | |
| "_diffusers_version": "0.12.0.dev0", | |
| "_name_or_path": "/home/user/.cache/huggingface/hub/models--multimodalart--sd-fine-tunable/snapshots/9dabd4dbbdd4c72e2ffbc8fb4e28debef0254949/vae", | |
| "act_fn": "silu", | |
| "block_out_channels": [ | |
| 128, | |
| 256, | |
| 512, | |
| 512 | |
| ], | |
| "down_block_types": [ | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D" | |
| ], | |
| "in_channels": 3, | |
| "latent_channels": 4, | |
| "layers_per_block": 2, | |
| "norm_num_groups": 32, | |
| "out_channels": 3, | |
| "sample_size": 512, | |
| "up_block_types": [ | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D" | |
| ] | |
| } | |