Repository navigation
feat: per-call vs per-node throughput view and CPU-parallel vs GPU knowledge page - #77
Merged
Merged
Conversation
…ummary@3 Optional, additive record fields from autolens_profiling#463/#465; no version bump. Malformed blocks make the capture invalid with a named error: basis must be 'projected', a projected record names exactly one host on its own host_class, bound_by names the smallest limit and equals workers, a gpus limit belongs to gpu setups only, null resources carry a reason. Pulse checks shape and consistency only and never recomputes a projection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014iaN7eDPr9toV6UcpDKTuZ
A View selector (default Per call, measured) swaps the value column to the producer's projected node throughput. Projected values carry a dashed 'projected' badge whose keyboard-focusable tooltip (role=tooltip, aria-describedby, Escape dismisses) gives eta, its source, the bounding limit and worker caps, the per-call basis and the not-modelled note. not_projected rows print the producer's reason. The Markdown board gains a marked 'Node throughput (projected)' column. Theme tokens keep dark mode; browser checks cover default, keyboard reach, tooltip, Escape, 390/1280 px and both colour schemes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014iaN7eDPr9toV6UcpDKTuZ
knowledge/cpu_parallel_vs_gpu_batched.md gives the autolens_assistant decision rules: never headline GPU vs CPU from per-call latency; the producer's worker formula and same-host-class projection; eta declared 1.0 (upper bound) until phase 4; the per-worker memory cap (ao ~23 GB -> 40 workers on a 921 GB ral node); W~ sharing after fork unknown; Nautilus n_batch ceiling not modelled; the JAX and numba fork rules; the RAL reference hosts; the 2a hst and ao Delaunay worked examples. Knowledge, not a decision: nothing is added to decisions.yaml. REFERENCE.md documents knowledge/; the lifecycle browser and the Markdown board link the page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014iaN7eDPr9toV6UcpDKTuZ
Online refetch (pyauto-pulse board): lens at autolens_profiling 29caed89 (679 records) now validates its 626 resources and 78 projected_node_throughput blocks (50 projected, 28 not_projected) under the new reader; fit and lens-walltime unchanged. Snapshots were already at these commits, so only refreshed_at moves; dashboard.md/html carry the View selector, projected badges and the knowledge-page link. check --offline: OK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014iaN7eDPr9toV6UcpDKTuZ
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
This is the Pulse half of likelihood-lifecycle phase 2x (#76; human ruling 2026-10-25: compare CPU and GPU as node throughput). autolens_profiling now declares
resourcesandprojected_node_throughputon v3 records (#463, #465). Pulse validates and displays them; it never recomputes them or issues a verdict.Validation (
pulse/catalogue.py): both blocks are optional and additive toprofiling-summary@3, so no version bump. A malformed block makes the capture invalid with an error naming the field. The checks:basis: projected;projectedwith exactly one host andper_call_s, ornot_projectedwith a reason;host_classequals the record's own, never cross-machine;bound_bynaming the smallest cap and equal toworkers;calls_per_sfinite and positive;4 new tests, one covering 36 malformed cases.
Setup browser and board:
bound_bywith the worker caps, the per-call basis and what isn't modelled.not_projectedrows show the producer's reason.Knowledge page:
knowledge/cpu_parallel_vs_gpu_batched.md, seven decision rules for the assistant. It covers:It sits in a new
knowledge/folder becausedecisions/is for human-recorded decisions only, and it is linked from the board and the browser.Refetch: lens at autolens_profiling 29caed89 (679 records): 626
resourcesblocks; 78 throughput blocks (50 projected, 28 not projected).Note: no lens rows are
class: optimalyet; phase 3 designates them. So the default Class filter shows few per-node values until Class is set to Secondary or All.Scripts Changed
pulse/catalogue.py(+tests/,tests/fixtures/setup_summary_v3.json) — validationpulse/setup_browser.js,setup_browser.css,setup_browser.py,measurement_presentation.js,pulse/board.py(+tests/browser_setup.cjs) — view selector, badge, tooltip, board columnknowledge/cpu_parallel_vs_gpu_batched.md(new),REFERENCE.mdreceipts/,snapshots/,dashboard.*,state.json— online refetchTest Plan
pyauto-pulse check --offlineOK; real dashboard checked at 390 px light and 1280 px darkCloses #76
Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code
https://claude.ai/code/session_014iaN7eDPr9toV6UcpDKTuZ