Skip to content

Commit

Permalink
[CI] set ninja threads to 4 (ModelCloud#487)
Browse files Browse the repository at this point in the history
* [CI] set MAX_JOBS

* [CI] set max jobs for ninja
  • Loading branch information
CSY-ModelCloud authored Oct 28, 2024
1 parent 5c2d08a commit a403283
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ env:
GPTQMODEL_FORCE_BUILD: 1
repo: ${{ github.event.inputs.repo || github.repository }}
ref: ${{ github.event.inputs.ref || github.ref }}
MAX_JOBS: 4

concurrency:
group: ${{ github.event.inputs.ref || github.ref }}-workflow-release
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ on:
env:
CUDA_DEVICE_ORDER: PCI_BUS_ID
CUDA_VISIBLE_DEVICES: 0
MAX_JOBS: 4
ZEN4_SERVER: 10.0.14.199
CPU_TEST_FILES: "test_qbits.py"
IGNORED_TEST_FILES: "test_tgi.py"
Expand Down

0 comments on commit a403283

Please sign in to comment.