Felipe97/llama-cpp-compiled
01.1k
1#!/usr/bin/env bash2 3# First try command line argument, then environment variable, then file4CONVERTED_MODEL="${1:-"$CONVERTED_MODEL"}"5 6# Final check if we have a model path7if [ -z "$CONVERTED_MODEL" ]; then8 echo "Error: Model path must be provided either as:" >&29 echo " 1. Command line argument" >&210 echo " 2. CONVERTED_MODEL environment variable" >&211 exit 112fi13 14../../gguf-py/gguf/scripts/gguf_dump.py $CONVERTED_MODEL15 