mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-04-29 18:51:15 +00:00
fix sed command
This commit is contained in:
8
.github/workflows/install.yml
vendored
8
.github/workflows/install.yml
vendored
@@ -62,11 +62,11 @@ jobs:
|
|||||||
export LD_LIBRARY_PATH=/usr/local/cuda-12.4/lib64:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=/usr/local/cuda-12.4/lib64:$LD_LIBRARY_PATH
|
||||||
export CUDA_HOME=/usr/local/cuda-12.4
|
export CUDA_HOME=/usr/local/cuda-12.4
|
||||||
cd ${{ github.workspace }}
|
cd ${{ github.workspace }}
|
||||||
echo "Running Local Chat 1"
|
echo "Running Local Chat 1...(book.txt)"
|
||||||
python ktransformers/local_chat_test.py --model_path /home/qujing3/models/DeepSeek-R1-Q4_K_M/config --gguf_path /home/qujing3/models/DeepSeek-R1-Q4_K_M/ --max_new_tokens 256 --cache_len 1536 --cpu_infer 64 --prompt_file /home/qujing3/prompts/book.txt > log1.txt
|
python ktransformers/local_chat_test.py --model_path /home/qujing3/models/DeepSeek-R1-Q4_K_M/config --gguf_path /home/qujing3/models/DeepSeek-R1-Q4_K_M/ --max_new_tokens 256 --cache_len 1536 --cpu_infer 64 --prompt_file /home/qujing3/prompts/book.txt > log1.txt
|
||||||
sed -n '/Prompt:/,$p' log1.txt
|
echo $(sed -n '/Prompt:/,$p' log1.txt)
|
||||||
echo "Running Local Chat 2"
|
echo "Running Local Chat 2...(chinese.txt)"
|
||||||
python ktransformers/local_chat_test.py --model_path /home/qujing3/models/DeepSeek-R1-Q4_K_M/config --gguf_path /home/qujing3/models/DeepSeek-R1-Q4_K_M/ --max_new_tokens 256 --cache_len 1536 --cpu_infer 64 --prompt_file /home/qujing3/prompts/chinese.txt > log2.txt
|
python ktransformers/local_chat_test.py --model_path /home/qujing3/models/DeepSeek-R1-Q4_K_M/config --gguf_path /home/qujing3/models/DeepSeek-R1-Q4_K_M/ --max_new_tokens 256 --cache_len 1536 --cpu_infer 64 --prompt_file /home/qujing3/prompts/chinese.txt > log2.txt
|
||||||
sed -n '/Prompt:/,$p' log2.txt
|
echo $(sed -n '/Prompt:/,$p' log2.txt)
|
||||||
|
|
||||||
- run: echo "This job's status is ${{ job.status }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
|
|||||||
Reference in New Issue
Block a user