Shorten the tests of the wheels in cibuildwheel
Maintainers usually reply within 2 days
Assessment
This issue has not been assessed yet.
Description
🤖 AI text below 🤖
Follows #116, closed: a prebuilt image would save about a minute per CUDA wheel job. Most of the wheel jobs' time is their tests.
Where the time goes. The nightly run 46571915144, x86-64 cu12 wheel (build-dist.yml, "Build the wheel": 14.1 minutes):
| Step | Time |
|---|---|
before_all (OpenBLAS, the CUDA toolkit, MPI) |
2.0 min |
| Compiling | 3.0 min |
| Tests in the container, cp311 | 4.2 min |
| Tests in the container, cp314 | 4.3 min |
aarch64 is the same pattern: 2.0 + 1.6 + 2.3 + 2.1 minutes.
What the tests run. tools/cibw/run-tests.sh runs pytest -m "not slow" and a two-rank run, once per MPI family (MPICH, Open MPI). cibuildwheel runs it for cp311 and cp314 (build = ["cp311-*", "cp314-*"]), but the wheel is a single abi3 wheel. So each job runs the fast suite four times. In a CUDA wheel, without a GPU, these tests run the host path, which the CPU wheel's jobs test as well. The CUDA wheel then gets its own GPU job, Test the cu12 wheel on a GPU (15.6 minutes), which runs the suite on the device.
What could change
- CUDA wheels in the container: a smoke test instead of the suite. For each MPI family: the extension of that family loads, one small solve on the host, and the two-rank run. The GPU job tests the engine.
- The second Python: the abi3 wheel is the same file. On cp314, a smoke test (import, one solve, the two-rank run) checks that it loads on the newest Python. The suite runs on cp311.
- Releases: decide whether
deploy.yml's wheel build keeps the full tests. A release is rare, and its wheels are the ones users install.
To measure: "Build the wheel" of a CUDA job and of a CPU job before and after, on a pull request and in the nightly run.
- Dominant language
- C++
- Stars
- 3
- Forks
- 0
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 29
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Algorithmiq/exa-dmrg
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Algorithmiq/exa-dmrg#153 ·
Maintainers usually reply within 2 days
-
Add CITATION.cff once the paper is outPossibly taken @FabioTarocco claimed this 1 day ago. Opendocumentation request
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Algorithmiq/exa-dmrg#106 · 2 assignees ·
Maintainers usually reply within 2 days
-
bug cpp
Difficulty 5/5 Over a week Newbie friendliness 35/100
Algorithmiq/exa-dmrg#157 ·
Maintainers usually reply within 2 days
-
Coverage jobs failPossibly taken @robertodr claimed this 1 day ago. Openbug
Algorithmiq/exa-dmrg#148 · 1 assignee ·
Maintainers usually reply within 2 days
-
ci idea
Difficulty 4/5 3-5 days Newbie friendliness 32/100
Algorithmiq/exa-dmrg#138 ·
Maintainers usually reply within 2 days
All issues in Algorithmiq/exa-dmrg
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
microsoft/IoT-For-Beginners#586 ·
-
comp-datalake-catalogs unexpected behaviour
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ClickHouse/ClickHouse#136706 ·
Maintainers usually reply within 1 day
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:text difficulty:easy prio:low type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NatronGitHub/openfx-arena#337 ·
Maintainers usually reply within 1 day