char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Daniel Beveniusmodel-conversion : remove hardcoded /bin/bash shebangs [no ci] (#15765)40a751ea9

char/aliceai-t5-moe
442 B14 linesraw
1#!/usr/bin/env bash
2
3# First try command line argument, then environment variable, then file
4CONVERTED_MODEL="${1:-"$CONVERTED_MODEL"}"
5
6# Final check if we have a model path
7if [ -z "$CONVERTED_MODEL" ]; then
8    echo "Error: Model path must be provided either as:" >&2
9    echo "  1. Command line argument" >&2
10    echo "  2. CONVERTED_MODEL environment variable" >&2
11    exit 1
12fi
13
14../../gguf-py/gguf/scripts/gguf_dump.py $CONVERTED_MODEL