Skip to content

fix: import the modelexpress config from its new path in a test - #4942

Merged
mikasenghaas merged 1 commit into
mainfrom
fix/modelexpress-test-import
Dec 3, 2026
Merged

mikasenghaas merged 1 commit into
mainfrom
fix/modelexpress-test-import

Conversation

@mikasenghaas

@mikasenghaas mikasenghaas commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Summary

Why. The Unit (CPU) job fails on main since 465e9b5. #4801 added test_modelexpress_sender_publishes_current_values_of_state_dict_copies, which imports ModelExpressWeightBroadcastConfig from prime_rl.configs.shared. #4928 moved that config to prime_rl.configs.blocks.weight_broadcast. Each PR passed alone. Together they fail with ModuleNotFoundError: No module named 'prime_rl.configs.shared'.

Idea. The test imports the config from its new path. No other file imports prime_rl.configs.shared.

🤖 Generated with Claude Code


Note

Low Risk
Test-only import path correction; no production or runtime logic is modified.

Overview
Repairs a broken import in test_modelexpress_sender_publishes_current_values_of_state_dict_copies so the unit test matches where ModelExpressWeightBroadcastConfig now lives (prime_rl.configs.blocks.weight_broadcast instead of the removed prime_rl.configs.shared module).

This is a one-line test fix with no behavior change—only unblocks CPU CI after the config module was relocated.

Reviewed by Cursor Bugbot for commit 12220dd. Bugbot is set up for automated code reviews on this repo. Configure here.

#4801 added the test with prime_rl.configs.shared while #4928 moved
the config to prime_rl.configs.blocks.weight_broadcast. Both merged,
so the Unit (CPU) job fails on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mikasenghaas
mikasenghaas requested a review from samsja December 3, 2026 22:26
@mikasenghaas
mikasenghaas merged commit ea81c8d into main Dec 3, 2026
18 checks passed
@mikasenghaas
mikasenghaas deleted the fix/modelexpress-test-import branch December 3, 2026 22:28
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.

2 participants