Skip to content

Commit

Permalink
ci: Fix justfile and upgrade hardware (#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelburnham authored Dec 22, 2023
1 parent 4c641c8 commit 031d3a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
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

1 comment on commit 031d3a6

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmarks

Table of Contents

Overview

This benchmark report shows the Fibonacci GPU benchmark.
NVIDIA L4
Intel(R) Xeon(R) CPU @ 2.20GHz
125.78 GB RAM
Workflow run: https://github.com/lurk-lab/lurk-rs/actions/runs/7303762218

Benchmark Results

LEM Fibonacci Prove - rc = 100

fib-ref=4c641c8f65a6eb2302ff3ffbe52f60bdbcaa1e1e fib-ref=031d3a608daf66ae0819d9d0b0112a09b86b2a18
num-100 2.37 s (✅ 1.00x) 2.36 s (✅ 1.00x faster)
num-200 4.64 s (✅ 1.00x) 4.63 s (✅ 1.00x faster)

LEM Fibonacci Prove - rc = 600

fib-ref=4c641c8f65a6eb2302ff3ffbe52f60bdbcaa1e1e fib-ref=031d3a608daf66ae0819d9d0b0112a09b86b2a18
num-100 1.97 s (✅ 1.00x) 1.98 s (✅ 1.00x slower)
num-200 4.47 s (✅ 1.00x) 4.48 s (✅ 1.00x slower)

Made with criterion-table

Please sign in to comment.