File tree Expand file tree Collapse file tree 1 file changed +30
-2
lines changed
Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change 1010 CARGO_TERM_COLOR : always
1111
1212jobs :
13- unit_test :
13+ core_unit_test :
1414 name : Core Unit Tests
1515 runs-on : ubuntu-latest
1616 timeout-minutes : 20
3939 - uses : actions/checkout@v4
4040 - name : Format
4141 run : cargo fmt --all --check
42- gpu_test :
42+ cuda_unit_test :
4343 name : Cuda Unit Tests
4444 runs-on : cuda_t4_runner
4545 timeout-minutes : 30
6363 run : rustup update
6464 - name : Run CUDA crate tests
6565 run : cargo test -p luminal_cuda --verbose
66+ cuda_llama :
67+ name : Cuda Llama
68+ runs-on : cuda_t4_runner
69+ timeout-minutes : 30
70+ env :
71+ CUDA_HOME : /usr/local/cuda-12.8
72+ LD_LIBRARY_PATH : /usr/local/cuda-12.8/lib64
73+
74+ steps :
75+ - uses : actions/checkout@v4
76+ - name : Install system deps
77+ run : |
78+ sudo apt-get update
79+ sudo apt-get install -y --no-install-recommends \
80+ protobuf-compiler \
81+ cuda-nvrtc-12-8
82+ - name : Install Rust
83+ run : |
84+ curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
85+ echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
86+ - name : Update Rust
87+ run : rustup update
88+ - name : Download Llama
89+ working-directory : examples/llama
90+ run : uv run --script setup/setup.py
91+ - name : Run Llama
92+ working-directory : examples/llama
93+ run : SEARCH=1 cargo test -p luminal_cuda --verbose
You can’t perform that action at this time.
0 commit comments