[RLLIB] restore_1_of_n_agents_from_checkpoint does not actually seem to work #32751
Labels
bug
Something that is supposed to be working; but isn't
P1
Issue that should be fixed within a few weeks
rllib
RLlib related issues
rllib-docs-or-examples
Issues related to RLlib documentation or rllib/examples
What happened + What you expected to happen
My team tried to use the example code
https://github.com/ray-project/ray/blob/ray-2.2.0/rllib/examples/restore_1_of_n_agents_from_checkpoint.py
as a basis for loading a pre-trained policy, however we think the example callback is missing a call to sync the worker weights
once we did that everything worked fine, but without the
sync_weights
the policy was randomVersions / Dependencies
ray/rllib 2.2
python 3.10.8
Reproduction script
the adjusted callback in the example should be:
Issue Severity
Low: It annoys or frustrates me.
The text was updated successfully, but these errors were encountered: