Commit 5923cb2
committed
lint(grpo): silence pylint false positive on TrainStateNNX kwarg
pylint resolves train_state_nnx via the stale non-editable site-packages copy where TrainStateNNX.__init__ predates reference_model, so the keyword call in init_state_fn trips E1123. The local class at src/maxtext/common/train_state_nnx.py does accept reference_model. Disable the rule on this single call.1 parent 2549adc commit 5923cb2
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
798 | 798 | | |
799 | 799 | | |
800 | 800 | | |
| 801 | + | |
801 | 802 | | |
802 | 803 | | |
803 | 804 | | |
| |||
0 commit comments