#!/usr/bin/env python3 """Download Leanstral 1.5 NVFP4 GGUF from Hugging Face.""" import os from huggingface_hub import hf_hub_download os.makedirs(os.path.expanduser("~/models/leanstral"), exist_ok=True) path = hf_hub_download( repo_id="Frosty40/Leanstral-1.5-119B-A6B-GGUF-NVFP4", filename="Leanstral-1.5-119B-A6B-NVFP4.gguf", local_dir=os.path.expanduser("~/models/leanstral"), ) size_gb = os.path.getsize(path) / (1024**3) print(f"Downloaded to: {path}") print(f"Size: {size_gb:.1f} GB")