Skip to content

fix: VRAM timing notes and interferometer modeling bug fix#35

Merged
Jammy2211 merged 2 commits intomainfrom
feature/smoke-test-fast
Apr 6, 2026
Merged

fix: VRAM timing notes and interferometer modeling bug fix#35
Jammy2211 merged 2 commits intomainfrom
feature/smoke-test-fast

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Add consistent VRAM timing notes to all print_vram_use comments and fix undefined variable bug in interferometer modeling script.

Scripts Changed

  • scripts/imaging/features/advanced/double_einstein_ring/modeling.py — added VRAM timing note
  • scripts/imaging/features/advanced/mass_stellar_dark/modeling.py — added VRAM timing note
  • scripts/imaging/features/pixelization/delaunay.py — added VRAM timing note
  • scripts/imaging/features/pixelization/modeling.py — added VRAM timing note
  • scripts/interferometer/features/pixelization/delaunay.py — added VRAM timing note
  • scripts/interferometer/features/pixelization/modeling.py — added VRAM timing note
  • scripts/interferometer/modeling.py — fixed fit=fitfit=result.max_log_likelihood_fit (line 477)
  • scripts/multi/modeling.py — added VRAM timing note
  • scripts/point_source/modeling.py — added VRAM timing note

Upstream PRs

Test Plan

  • Verified interferometer/modeling.py runs without NameError after bug fix
  • VRAM notes are consistent across all 12 scripts with print_vram_use calls

🤖 Generated with Claude Code

Jammy2211 and others added 2 commits April 6, 2026 21:06
- Add "takes about 20-30 seconds" note to all print_vram_use comments
  that were missing it (8 scripts)
- Fix bug in interferometer/modeling.py line 477: fit=fit changed to
  fit=result.max_log_likelihood_fit (undefined variable)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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