Skip to content

Commit b3db13c

Browse files
authored
Merge branch 'EricLBuehler:master' into master
2 parents 5c28fe2 + fd60163 commit b3db13c

File tree

107 files changed

+14910
-714
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+14910
-714
lines changed

.github/workflows/ci_cuda.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI / cuda
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
7+
jobs:
8+
test-cuda:
9+
# For security, only run automatically for:
10+
# - PRs from the same repo (not forks)
11+
# - manual workflow dispatch
12+
if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }}
16+
cancel-in-progress: true
17+
18+
runs-on: [self-hosted, Linux, ARM64, gpu, cuda]
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
24+
- name: Install dependencies
25+
run: |
26+
sudo apt-get update
27+
sudo apt-get install -y curl build-essential libssl-dev protobuf-compiler pkg-config
28+
29+
- name: Install Rust Stable
30+
uses: dtolnay/rust-toolchain@stable
31+
32+
- name: CUDA sanity
33+
run: |
34+
nvidia-smi || true
35+
nvcc --version || true
36+
37+
- name: Clippy (cuda)
38+
run: cargo clippy --features cuda
39+
40+
- name: Test (cuda)
41+
run: cargo test --features cuda

.typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ extend-ignore-re = [
2727
"elem_to_loc_3_nd",
2828
"thr_reduce",
2929
"thw",
30+
"iy",
3031
]
3132

3233
[type.rust.extend-identifiers]

0 commit comments

Comments
 (0)