Skip to content

Throw error when parameter is modified in GatheredParameters#7832

Merged
tohtana merged 6 commits intomasterfrom
tohtana/prohibit_modify_params
Feb 21, 2026
Merged

Throw error when parameter is modified in GatheredParameters#7832
tohtana merged 6 commits intomasterfrom
tohtana/prohibit_modify_params

Conversation

@tohtana
Copy link
Collaborator

@tohtana tohtana commented Feb 5, 2026

#7817 added a test to verify that we throw an error when parameters are modified in GatheredParameters and modifier_rank is None. However, the PR just checks devices and doesn't detect modifications on parameters.
This causes an error in our full test run.

This PR adds the detection of parameter modifications to properly throw an error.

Signed-off-by: Masahiro Tanaka <mtanaka@anyscale.com>
Signed-off-by: Masahiro Tanaka <mtanaka@anyscale.com>
Signed-off-by: Masahiro Tanaka <mtanaka@anyscale.com>
@tohtana tohtana marked this pull request as ready for review February 5, 2026 23:09
@tohtana tohtana requested a review from PKUWZP February 16, 2026 08:02
tohtana and others added 3 commits February 21, 2026 11:17
Signed-off-by: Masahiro Tanaka <mtanaka@anyscale.com>
Signed-off-by: Masahiro Tanaka <mtanaka@anyscale.com>
@tohtana tohtana merged commit 57b10d5 into master Feb 21, 2026
9 checks passed
@tohtana tohtana deleted the tohtana/prohibit_modify_params branch February 21, 2026 23:34
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