Instructions to use Ketansomewhere/2GPUs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Ketansomewhere/2GPUs with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Ketansomewhere/2GPUs", 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
- Xet hash:
- 16029db3afe7825bbdad53220a34895cec4d28e209653ca6539d6a4f9b8b8d89
- Size of remote file:
- 455 MB
- SHA256:
- 90354beadc31c10c3f42ecc8167518cb9b258d8c3005cfd498cdcc844c406ab6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.