feat(ci): add CARGO_BUILD_JOBS and NVCC_THREADS to build matrix
All checks were successful
poll-upstream / check (push) Successful in 2s
All checks were successful
poll-upstream / check (push) Successful in 2s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -19,6 +19,8 @@ jobs:
|
|||||||
cuda_home: /usr/local/cuda-13.0
|
cuda_home: /usr/local/cuda-13.0
|
||||||
cargo_features: "cuda cudnn flash-attn nccl"
|
cargo_features: "cuda cudnn flash-attn nccl"
|
||||||
compute_caps: "120"
|
compute_caps: "120"
|
||||||
|
build_jobs: 8
|
||||||
|
nvcc_threads: 4
|
||||||
runs-on: ${{ matrix.runner }}
|
runs-on: ${{ matrix.runner }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -53,6 +55,8 @@ jobs:
|
|||||||
CUDA_HOME: ${{ matrix.cuda_home }}
|
CUDA_HOME: ${{ matrix.cuda_home }}
|
||||||
CARGO_FEATURES: ${{ matrix.cargo_features }}
|
CARGO_FEATURES: ${{ matrix.cargo_features }}
|
||||||
CUDA_COMPUTE_CAP: ${{ matrix.compute_caps }}
|
CUDA_COMPUTE_CAP: ${{ matrix.compute_caps }}
|
||||||
|
CARGO_BUILD_JOBS: ${{ matrix.build_jobs }}
|
||||||
|
NVCC_THREADS: ${{ matrix.nvcc_threads }}
|
||||||
SRC_DIR: src
|
SRC_DIR: src
|
||||||
|
|
||||||
- name: Upload binary artifact
|
- name: Upload binary artifact
|
||||||
|
|||||||
Reference in New Issue
Block a user