Skip to content

Guard model config against eager Megatron imports#706

Merged
bradhilton merged 1 commit into
mainfrom
brad/model-support-import-boundary
Jun 2, 2026
Merged

Guard model config against eager Megatron imports#706
bradhilton merged 1 commit into
mainfrom
brad/model-support-import-boundary

Conversation

@bradhilton
Copy link
Copy Markdown
Collaborator

Summary

  • Add a subprocess regression test that blocks top-level megatron imports while building Qwen3 model config.
  • Allow optional Megatron-adjacent dependencies in ty unresolved-import config so full prek checks pass without those extras installed locally.

Test plan

  • uv run prek run --all-files

Add a subprocess regression test that blocks top-level Megatron imports while building Qwen3 model config, and allow optional Megatron-adjacent deps in ty checks.
@bradhilton bradhilton merged commit 70f605c into main Jun 2, 2026
5 checks passed
@bradhilton bradhilton deleted the brad/model-support-import-boundary branch June 2, 2026 21:58
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