Skip to content

Make simulation progress meter configurable#11

Open
rogeriojorge wants to merge 1 commit into
mainfrom
agent/configure-progress-meter
Open

Make simulation progress meter configurable#11
rogeriojorge wants to merge 1 commit into
mainfrom
agent/configure-progress-meter

Conversation

@rogeriojorge

@rogeriojorge rogeriojorge commented Jul 13, 2026

Copy link
Copy Markdown
Member

Summary

  • expose Diffrax's progress_meter through simulation
  • use NoProgressMeter by default to avoid host callbacks in batch, profiling, and differentiated runs
  • retain opt-in meters such as TqdmProgressMeter

The simplified PR changes one source file with seven additions and four deletions; it does not add a test for a directly visible function default.

Validation

  • pytest -q: 3 passed
  • 65x65 Fourier, 6x6x6 Hermite Orszag--Tang fixed-step smoke benchmark completed with both NoProgressMeter and TqdmProgressMeter
  • fresh-process compile-plus-run times were 9.802 s and 9.845 s respectively; this PR does not claim a material JIT-time improvement

@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
spectrax/_simulation.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rogeriojorge
rogeriojorge marked this pull request as ready for review July 13, 2026 03:06
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.

1 participant