mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-04-20 14:29:22 +00:00
add CI/CD for human eval score benchmarking
This commit is contained in:
24
.github/workflows/score.yml
vendored
Normal file
24
.github/workflows/score.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Human Eval Score KTransformers
|
||||
run-name: Human Eval Score KTransformers
|
||||
on: workflow_dispatch
|
||||
jobs:
|
||||
Human-Eval-Score-KTransformers:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
||||
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
|
||||
- name: Human Eval Run
|
||||
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 }}
|
||||
python transformers/tests/score.py
|
||||
|
||||
- run: echo "This job's status is ${{ job.status }}."
|
||||
Reference in New Issue
Block a user