Files
echonoshy--cgft-llm/02-llm-core/llama-cpp/scripts/run_server.sh
T
2026-07-13 12:29:33 +08:00

15 lines
267 B
Bash

#!/bin/bash
cd ~/code/llama.cpp/build_cuda/bin
./server \
-m /root/autodl-tmp/models/Llama3-8B-Chinese-Chat-GGUF/Llama3-8B-Chinese-Chat-q8_0-v2_1.gguf \
--host "127.0.0.1" \
--port 8080 \
-c 2048 \
-ngl 128 \
--api-key "echo in the moon"