Buckets:
frohzinn/bcbsma-storage / llama.cpp /examples /model-conversion /scripts /utils /run-embedding-server.sh
| set -e | |
| # | |
| # First try command line argument, then environment variable, then file | |
| CONVERTED_MODEL="${1:-"$CONVERTED_MODEL"}" | |
| BUILD_DIR="${2:-"$BUILD_DIR"}" | |
| # Final check if we have a model path | |
| if [ -z "$CONVERTED_MODEL" ]; then | |
| echo "Error: Model path must be provided either as:" >&2 | |
| echo " 1. Command line argument" >&2 | |
| echo " 2. CONVERTED_MODEL environment variable" >&2 | |
| exit 1 | |
| fi | |
| if [ -z "$BUILD_DIR" ]; then | |
| BUILD_DIR="../../build" | |
| fi | |
| echo $CONVERTED_MODEL | |
| cmake --build $BUILD_DIR --target llama-server | |
| ${BUILD_DIR}/bin/llama-server -m $CONVERTED_MODEL \ | |
| --embedding \ | |
| --pooling none | |
Xet Storage Details
- Size:
- 646 Bytes
- Xet hash:
- be08c6b109ada7d18b9fd508b9dffd38b6d7dce55b782992505a5afd33790882
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.