That repo has a 6.76 GB model.safetensors and it’s stored as xet on the Hub, so the “just click download in the browser / git clone” paths are often where things get annoying. citeturn0view0
Here are the sane ways to download it.
- Install the CLI:
pip install -U "huggingface_hub[cli]"
- (Optional but recommended) login so downloads are smoother (and required for gated models):
- Download the whole repo into a folder:
huggingface-cli download depth-anything/DA3NESTED-GIANT-LARGE-1.1 \
--local-dir DA3NESTED-GIANT-LARGE-1.1 \
Or download just the big weights:
huggingface-cli download depth-anything/DA3NESTED-GIANT-LARGE-1.1 model.safetensors \
--local-dir DA3NESTED-GIANT-LARGE-1.1 \
You should end up with:
config.json
README.md
model.safetensors (the big one) citeturn0view0
from huggingface_hub import snapshot_download
repo_id="depth-anything/DA3NESTED-GIANT-LARGE-1.1",
local_dir="DA3NESTED-GIANT-LARGE-1.1",
local_dir_use_symlinks=False, # makes a “real” copy in that folder
If you only want certain files:
from huggingface_hub import snapshot_download
repo_id="depth-anything/DA3NESTED-GIANT-LARGE-1.1",
local_dir="DA3NESTED-GIANT-LARGE-1.1",
local_dir_use_symlinks=False,
allow_patterns=["model.safetensors", "config.json", "README.md"],
Click model.safetensors → look for the download button. For multi-GB files this can be slow/unstable; CLI/Python is usually much more reliable. citeturn0view0
git clone is great when a repo uses git-lfs, but this repo’s big file is labeled xet on the Hub, so the Hub download tools (huggingface-cli download / snapshot_download) are the path of least pain. citeturn0view0
If you tell me your OS (Linux/macOS/Windows) and whether you want it for Transformers loading or just “get the file onto disk”, I’ll give you the exact one-liner + where it ends up on your machine.