-
Notifications
You must be signed in to change notification settings - Fork 16
Add torchstore to policy #107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add torchstore to policy #107
Conversation
joecummings
commented
Sep 1, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm just not sure from this how store is getting passed in but otherwise looks good
src/forge/actors/policy.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be a check that the new version exists on the store?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was just thinking that it would fail when trying to lookup the key and that would be obvious enough for now, but I could make it more explicit.
src/forge/actors/policy.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does spawn services need to know to pass this in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it has to be passed in from the top level so you can use the same for Trainer.
Yeah, the launch logic IMO is really confusing - took me awhile to figure out why store was not being passed into the policy worker. This is a consequence of the |