Instructions to use tensor-diffusion/LEOSAMs-HelloWorld-Grain2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tensor-diffusion/LEOSAMs-HelloWorld-Grain2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tensor-diffusion/LEOSAMs-HelloWorld-Grain2", 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 unet/diffusion_pytorch_model.safetensors from tensor-diffusion/LEOSAMs-HelloWorld-Grain2: direct link, hf CLI and curl.
- Browser
- Download file 1.75 GB
-
https://huggingface.co/tensor-diffusion/LEOSAMs-HelloWorld-Grain2/resolve/main/unet/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://tensor-diffusion/LEOSAMs-HelloWorld-Grain2/unet/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/tensor-diffusion/LEOSAMs-HelloWorld-Grain2/resolve/main/unet/diffusion_pytorch_model.safetensors
1.75 GB
- Xet hash:
- 1066b52cdfb3a00121ff83cd08fe7c8cea4d0fbccf85d1aa6b0ee049f704e73c
- Size of remote file:
- 1.75 GB
- SHA256:
- dc26cecc633e26affc95d4a52a2b9af767fea2c73f4e47602d60506ed3089ad9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.