Skip to content

Lazy-load session backends and monitors - #1382

Open
Zhipeng Wang (timenick) wants to merge 1 commit into
mainfrom
zhiwang/fix-session-lazy-imports
Open

Lazy-load session backends and monitors#1382
Zhipeng Wang (timenick) wants to merge 1 commit into
mainfrom
zhiwang/fix-session-lazy-imports

Conversation

@timenick

Copy link
Copy Markdown
Contributor

Summary

  • Lazy-load the session, monitor, and sysinfo public facades while preserving their existing exports.
  • Defer QAIRT and provider-specific monitor modules until the matching backend is selected.
  • Add subprocess import-isolation coverage for Runtime, GenAI, QNN, OpenVINO, VitisAI, and QAIRT, including actionable missing-dependency diagnostics.

Closes #1381

Validation

  • 15 import-isolation tests passed.
  • CI-equivalent commands/session shard: 3667 passed.
  • CI-equivalent remaining shard: 960 passed.
  • Mypy checked 441 source files.
  • Pre-commit passed.
@timenick
Zhipeng Wang (timenick) requested a review from a team as a code owner September 1, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant