Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix justfile and upgrade hardware #1003

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ concurrency:

jobs:
linux:
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: buildjet-16vcpu-ubuntu-2204
env:
RUSTFLAGS: -D warnings
steps:
Expand Down
3 changes: 0 additions & 3 deletions benches/bench.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# cargo config
PATH="${CARGO_HOME:-$HOME/.cargo}/bin:$PATH"

# Lurk config
LURK_PERF=max-parallel-simple
LURK_RC=100,600
Expand Down
4 changes: 4 additions & 0 deletions benches/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ commit := `git rev-parse HEAD`
# Run CPU benchmarks
bench +benches:
#!/bin/sh
# Ensure the cargo env is passed to `just`
export PATH=${CARGO_HOME:-$HOME/.cargo}/bin:$PATH
printenv LURK
if [ '{{benches}}' != '' ]; then
for bench in {{benches}}; do
Expand All @@ -20,6 +22,8 @@ bench +benches:
# Run CUDA benchmarks on GPU
gpu-bench +benches:
#!/bin/sh
# Ensure the cargo env is passed to `just`
export PATH=${CARGO_HOME:-$HOME/.cargo}/bin:$PATH
# The `compute`/`sm` number corresponds to the Nvidia GPU architecture
# In this case, the self-hosted machine uses the Ampere architecture, but we want this to be configurable
# See https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/
Expand Down
Loading