mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-07 21:19:51 +00:00
split two test
This commit is contained in:
parent
0899b7dde6
commit
4e23a4c024
1 changed files with 11 additions and 3 deletions
14
.github/workflows/install.yml
vendored
14
.github/workflows/install.yml
vendored
|
@ -52,9 +52,7 @@ jobs:
|
|||
git submodule init
|
||||
git submodule update
|
||||
bash install.sh
|
||||
- name: Test Local Chat
|
||||
env:
|
||||
TERM: xterm-256color
|
||||
- name: Test Local Chat 1
|
||||
run: |
|
||||
set -e
|
||||
source /home/qujing3/anaconda3/etc/profile.d/conda.sh
|
||||
|
@ -65,6 +63,16 @@ jobs:
|
|||
cd ${{ github.workspace }}
|
||||
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
|
||||
- name: Test Local Chat 2
|
||||
run: |
|
||||
set -e
|
||||
source /home/qujing3/anaconda3/etc/profile.d/conda.sh
|
||||
conda activate ktransformers-dev
|
||||
export PATH=/usr/local/cuda-12.4/bin:$PATH
|
||||
export LD_LIBRARY_PATH=/usr/local/cuda-12.4/lib64:$LD_LIBRARY_PATH
|
||||
export CUDA_HOME=/usr/local/cuda-12.4
|
||||
cd ${{ github.workspace }}
|
||||
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
|
||||
|
||||
- run: echo "This job's status is ${{ job.status }}."
|
||||
|
|
Loading…
Add table
Reference in a new issue