Skip to content

Bound the executable MNIST tutorial for docs CI - #258

Draft
ChrisRackauckas-Claude wants to merge 1 commit into
mainfrom
agent/257-green-ci
Draft

ChrisRackauckas-Claude wants to merge 1 commit into
mainfrom
agent/257-green-ci

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

🚧 UNREVIEWED — awaiting review by @ChrisRackauckas. Filed by an AI agent running as @ChrisRackauckas; Chris has not seen this.
Harness: Codex CLI 0.170.0 · Model: gpt-6.2-sol
Conversation: local session 01a20363-8115-7681-ab5c-dacba5d8894b (no session URL)

Closes #257

The two executable runs in the convolutional MNIST tutorial now train on 250 images to reduce CPU build time. Both runs keep the same models, solvers, batch size, warmup, pretraining, training epochs, and evaluation. The tutorial's train_model still defaults to 2,500 images for a longer run.

Default-branch evidence

Core (Julia 1, LTS, and x86), QA, GPU, and Downgrade passed on the reported head. The earlier LuxTestUtils/JET resolution failure was addressed by the compatibility floor in PR #254. The open dependency compatibility PR #256 touches only the test dependency requirement. Core, QA, and GPU run · Downgrade run · Earlier resolver failure · Merged PR #254 · Open PR #256

The only unsuccessful check jobs on the reported commit were Documentation on the default branch and release tag. Both stopped during template expansion and were canceled about six hours after the job started. Default-branch job · Release-tag job

[ Info: Doctest: running doctests.
[ Info: ExpandTemplates: expanding markdown templates.
##[error]The operation was canceled.

Local verification

OPENBLAS_NUM_THREADS=1 JULIA_NUM_THREADS=1 JULIA_DEBUG=Documenter julia +1.13.3 --startup-file=no --project=docs --code-coverage=@ docs/make.jl with the MNIST cache populated and coverage scoped to the checkout.

[ Info: Doctest: running doctests.
[ Info: ExpandTemplates: expanding markdown templates.
[ Info: CollectCitations
[ Info: CheckDocument: running document checks.
[ Info: HTMLWriter: rendering HTML pages.
Docs build elapsed: 20:19.63 (exit 0)

The original build on the reported head was still evaluating the second convolutional example when the same local docs command reached the one-hour timeout 3600 limit.

┌ Debug: Evaluating @example block:
│ train_model(VCAB3(), :deq);
│ nothing # hide
└ @ Documenter ~/.julia/packages/Documenter/eCrmY/src/expander_pipeline.jl:922
Command exited with non-zero status 124
Docs build elapsed: 1:00:00 (exit 124)

Both tutorials rendered two completed training runs, each with epoch 3 evaluation. The changed convolutional runs finished training in 2:40 with Newton–Krylov and 1:46 with VCAB3.

GROUP=Core OPENBLAS_NUM_THREADS=1 JULIA_NUM_PRECOMPILE_TASKS=8 julia +1.13.3 --startup-file=no --project -e 'using Pkg; Pkg.test()'
GROUP=QA OPENBLAS_NUM_THREADS=1 JULIA_NUM_PRECOMPILE_TASKS=8 julia +1.13.3 --startup-file=no --project -e 'using Pkg; Pkg.test()'
Test Summary: | Pass  Total     Time
Utils Tests   |   15     15  1m04.4s
Test Summary: | Pass  Total      Time
Layers Tests  | 1538   1538  25m40.4s
     Testing DeepEquilibriumNetworks tests passed
Test Summary: | Pass  Total     Time
QA            |   20     20  2m16.6s
     Testing DeepEquilibriumNetworks tests passed
JULIA_LOAD_PATH='@@runic117:@stdlib' julia +1.13.3 --startup-file=no -m Runic --check --diff $(git ls-files '*.jl')
typos docs/src/tutorials/basic_mnist_deq.md
git diff --check
Runic, typos, and git diff --check passed.

GitHub verification

All five checks on the pushed commit passed. The Documentation job completed in 42m 41s, including dependency installation and preview deployment. Documentation job · Published preview

Local checks used 64-bit CPU Julia. The GPU and 32-bit Core lanes, deployment, and release-tag publishing were outside local verification.

The review decision is whether 250 images is enough for the rendered tutorial. That run exercises training and gives a noisier accuracy estimate than a longer run.

Risk assessment

  • Risk: Low
  • Blast radius: Two executable calls in one tutorial and their rendered output. No package API change.
  • Evidence: Default-branch docs canceled during template expansion. The candidate rendered both tutorials and passed local and PR checks.
  • Independent review: Pending.
  • Merge: Needs human review by @ChrisRackauckas.

🤖 Posted by an AI agent — harness: Codex CLI 0.170.0 · model: gpt-6.2-sol
Conversation: local session 01a20363-8115-7681-ab5c-dacba5d8894b (no session URL)

Use a smaller MNIST sample in the two rendered training runs so both
solver examples fit the build budget on CPU.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Codex <noreply@openai.com>
Agent-Harness: Codex CLI 0.170.0
Agent-Model: gpt-6.2-sol
Agent-Job: 257-codex
Agent-Session: local session 01a20363-8115-7681-ab5c-dacba5d8894b (no session URL)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default-branch CI is red: get the tests green

2 participants