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