Skip to content

Instantly share code, notes, and snippets.

@ugovaretto
Created November 9, 2025 07:45
Show Gist options
  • Select an option

  • Save ugovaretto/b2b02265a4c7bd5743b544a1c7fa8a29 to your computer and use it in GitHub Desktop.

Select an option

Save ugovaretto/b2b02265a4c7bd5743b544a1c7fa8a29 to your computer and use it in GitHub Desktop.
download from huggingface into llama.cpp directory
#!/usr/bin/env bash
hf download $1 --local-dir "$HOME/.cache/llama.cpp/$1/$2" --include="*$2.gguf"
#!/usr/bin/env bash
# Download mmproj file for vision models invode like hf-dload-mmproj-llamacpp.sh <model name> <mmproj quantization>
hf download $1 --local-dir "$HOME/.cache/llama.cpp/$1" --include="mmproj*$2.gguf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment