Instructions to use showlab/show-o2-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use showlab/show-o2-7B with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("showlab/show-o2-7B", 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 overview.png from showlab/show-o2-7B: direct link, hf CLI and curl.
- Browser
- Download file 1.67 MB
-
https://huggingface.co/showlab/show-o2-7B/resolve/main/overview.png
- Command line
-
hf download hf://showlab/show-o2-7B/overview.png
-
curl -L -o overview.png https://huggingface.co/showlab/show-o2-7B/resolve/main/overview.png
1.67 MB

- Xet hash:
- 2cf8a1e43ca4eff8e0a5c0e53c92d0e77f7c03be26b2675143d659f17e46c498
- Size of remote file:
- 1.67 MB
- SHA256:
- bdf9657fa6b8ab5f592eae15a0aa0394776c3ee804b45fe3870db93fb6f2ea0a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.