Repository navigation
Gallery example fits K=6 and K=80 only, so the Read the Docs build finishes in time - #190
Merged
Merged
Conversation
…orial 05 for the K = 320 fit The K = 320 fit's run time depends on the host's BLAS rounding and ran past the Read the Docs 30-minute limit. Tutorial 05, which is executed locally and committed with its outputs, already shows K = 5 to 320 with the same settings. The example no longer claims that the largest fit takes the most time. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DcKtyt2ULJKvi7Z1bbZU4G
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.
The Read the Docs build of
mainis terminated at its 30-minute limit (build 36087155 for 56cb1a1 and, on 2026-10-29, the builds for 22eff8d). The time goes to one sphinx-gallery example,examples/plot_2d_image_factors.py: its K=320 fit took 303 s on Read the Docs for de4232f and runs past the limit now. The duration of that fit's first solver iteration depends on the host CPU's BLAS kernel (84 s natively on Apple Silicon, 500 to 1300 s in an x86-64 container depending on the OpenBLAS kernel).What changes
examples/plot_2d_image_factors.pyfits K=6 and K=80 and draws three panels; the K=320 fit is removed. The sentence "The largest fit takes the most time" is removed. The existing link to tutorial 05 now says that the tutorial compares more factor counts on the same image with the same settings, up to K=320.Measurements
Read the Docs-like container (ubuntu 22.04 amd64, Python 3.11, 2 CPUs, the command sequence from the build log):
Locally:
make lintclean;tests/test_docs.pyandtests/test_package.py4 passed;make docs0 warnings; the example takes 4.6 s.Not changed
The first bounded Levenberg-Marquardt solve of a large-K fit can still take many steps (cap of 96,000 evaluations in
htfa/_kernels.py); this PR only takes that fit out of the docs build.🤖 Generated with Claude Code
https://claude.ai/code/session_01DcKtyt2ULJKvi7Z1bbZU4G