Mount remote repositories, models and datasets managed by Git LFS locally.
- Faster Clone and Checkout: Git LFS tracked files are downloaded by pages (2MiB per page) on demand.
- Work with Limited Storage: Pages are cached locally and limited by the
max-pages
config (default: 5120).
- FUSE support on your operating system (Linux, Windows WSL 2, macOS with macFUSE installed).
- Git LFS installed and configured.
Download prebuilt binaries from the release page.
# For example, to mount a huggingface dataset:
git-lfs-fuse mount https://huggingface.co/datasets/nvidia/OpenCodeReasoning --max-pages 5120
FUSE module may get stuck in kernel space if git-lfs-fuse
doesn't exit gracefully. In such cases, you may need to manually unmount the FUSE mount point:
# Linux.
sudo fusermount3 -u <mount-dir>
# macOS.
sudo diskutil unmount <mount-dir>
- NFS v3 or v4.
- Git submodule.
Contributions are welcome! Please feel free to submit a Pull Request.