ENH: allow default rng to accept a legacy RandomState
ENH: allow default rng to accept a legacy RandomState: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). ENH: allow default rng to accept a legacy RandomState I maintain a downstream library that is going through the SPEC 7 transition — moving from legacy np.random.RandomState…
The task
ENH: allow default_rng to accept a legacy RandomState I maintain a downstream library that is going through the SPEC 7 transition — moving from legacy np.random.RandomState to the newer Generator API. As part of that, our public functions still need to accept whatever rng-like…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.