Skip to content

Commit 5277556

Browse files
committed
fix bugs, add baseline
1 parent 090e021 commit 5277556

4 files changed

Lines changed: 989 additions & 7 deletions

File tree

.github/workflows/codspeed.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,13 @@ jobs:
8080
run: |
8181
# step 1: build deps only (needed for --no-build-isolation), no project
8282
uv sync --only-group build --no-install-project -p 3.13
83-
# step 2: build+install the project (release) + build group, without the heavy default `dev` group
84-
uv sync --no-build-isolation --no-editable --reinstall --no-default-groups --group build -p 3.13
85-
# step 3: the frozen bench pins (exact ==), so the only cross-run delta is the binding
83+
# step 2: the frozen bench pins (exact ==), so the only cross-run delta is the binding. MUST precede the
84+
# build: numpy>=2.0 is a [build-system].requires (numpy C API headers), which --no-build-isolation does
85+
# not auto-install and which is not in the `build` group, so CMake's find_package(... NumPy) fails first.
8686
uv pip install -r benchmarks/requirements-bench.txt
87+
# step 3: build+install the project (release), no default `dev` group (torch/tensorflow/pyspark). uv pip
88+
# install is additive; uv sync here would prune numpy back out before the build and re-break the config.
89+
uv pip install --no-build-isolation --no-deps --reinstall -C cmake.build-type=Release .
8790
8891
- name: Collect gate node-ids
8992
# the gate/informational marker split; regen uses it to classify each benchmark

0 commit comments

Comments
 (0)