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