Instructions to use siliconflow/stable-diffusion-v1-5-onediff-deepcache-int8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use siliconflow/stable-diffusion-v1-5-onediff-deepcache-int8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("siliconflow/stable-diffusion-v1-5-onediff-deepcache-int8", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download quant_args.json from siliconflow/stable-diffusion-v1-5-onediff-deepcache-int8: direct link, hf CLI and curl.
- Browser
- Download file 138 Bytes
-
https://huggingface.co/siliconflow/stable-diffusion-v1-5-onediff-deepcache-int8/resolve/main/quant_args.json
- Command line
-
hf download hf://siliconflow/stable-diffusion-v1-5-onediff-deepcache-int8/quant_args.json
-
curl -L -o quant_args.json https://huggingface.co/siliconflow/stable-diffusion-v1-5-onediff-deepcache-int8/resolve/main/quant_args.json
138 Bytes
| {"conv_compute_density_threshold": 1000000, "linear_compute_density_threshold": 300, "conv_ssim_threshold": 0, "linear_ssim_threshold": 0} |