Skip to content

Conversation

@osalpekar
Copy link
Member

dist_autograd() and dist_optimizer.step now explicitly take in the context_id. This PR reflects the API change in the RPC-based RNN training example.

These API changes will be a part of the PyTorch 1.5 Release.

@mrshenli
Copy link
Contributor

@nairbv Shall we land this PR for v1.5? Thanks!

@jlin27 jlin27 merged commit 234bcff into pytorch:master Mar 23, 2020
YinZhengxun pushed a commit to YinZhengxun/mt-exercise-02 that referenced this pull request Mar 30, 2025
[Dist Autograd - API Change] Updated dist_autograd and dist_optim to be functional
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants