Closed Mi-Przystupa closed 1 day ago
Hello,
I'm modifying a repository that depends heavily on Brax to work, but the version they use is terribly out of date so I am forced to modify things to align with the latest brax version.
This is the repo: https://github.com/frt03/mxt_bench/
Specifically, I would like to know what function or equivalent behavior does the same as
brax.training.pmap.is_synchronized(...)
The code I'm referring to is here: https://github.com/frt03/mxt_bench/blob/8c05bd2b834a6b6d6066b8ae74dc317306ffb499/mxt_bench/algo/ppo_mlp.py#L468
My main goal is just to get it to work, so knowing what the new equivalent set of functions to address this would help.
Thank you!
Hi @Mi-Przystupa - the function name was changed to is_replicated: https://github.com/google/brax/blob/main/brax/training/pmap.py#L44
is_replicated
Hello,
I'm modifying a repository that depends heavily on Brax to work, but the version they use is terribly out of date so I am forced to modify things to align with the latest brax version.
This is the repo: https://github.com/frt03/mxt_bench/
Specifically, I would like to know what function or equivalent behavior does the same as
The code I'm referring to is here: https://github.com/frt03/mxt_bench/blob/8c05bd2b834a6b6d6066b8ae74dc317306ffb499/mxt_bench/algo/ppo_mlp.py#L468
My main goal is just to get it to work, so knowing what the new equivalent set of functions to address this would help.
Thank you!