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