Repository navigation
task: pin NUMBA_NUM_THREADS=1 in profiling cells + re-measure the DelaunayNN numba Optimal cell - #90
Merged
Conversation
…NN numba Optimal cell after PyAutoArray#677 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Files one profiling task (measurement-tools campaign):
tasks/numba_num_threads_pin_and_delaunay_nn_remeasure.mdplus itscampaigns.yamlrow and the regenerated board.autolens_profiling/_production_config.pin_thread_envpins BLAS/OMP threads but notNUMBA_NUM_THREADS, and numba ignoresOMP_NUM_THREADS. So the day-zero optimal cellimaging/delaunay_nn/hst numba_cpu_sparse_fp64@hpc_ral_cpuran its then-always-parallel Sibson kernel on up to 8 cores. On the laptop at the profiled size, Sibson takes 14 ms with 8 threads and 56 ms with 1, about 3–10% of the 1.3 s call. Production workers are single-core and, since PyAutoArray#677, always serial.Steps:
NUMBA_NUM_THREADS(no compute).No other numba cell is affected; the task lists why.
Test Plan
bin/pyauto-pulse board --offline(board gains one open-task line only)bin/pyauto-pulse check --offline: OK🤖 Generated with Claude Code