Repository navigation
Delete RPC tutorials - #3994
Merged
Merged
Delete RPC tutorials#3994
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3994
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit 58f40ae with merge base c2e181b ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
d4l3k
added a commit
to pytorch/pytorch
that referenced
this pull request
Nov 4, 2026
torch.distributed.rpc (TensorPipe agent, RRef, dist autograd, DistributedOptimizer, RemoteModule) has had no feature work in years and its upstream TensorPipe dependency is unmaintained. Deprecate it for removal in a future version; the RPC docs list alternatives. `init_rpc`, the entry point for all RPC APIs, emits a once-per-process `FutureWarning`. The RPC docs replace the "stable and in maintenance mode" and CUDA beta warnings with the deprecation notice, the RPC design notes and `DistributedOptimizer`/`RemoteModule` docstrings get deprecation notes, the broken rST link in the MyST note is fixed, and links to the RPC getting started tutorial (being deleted in pytorch/tutorials#3994) are removed. The CUDA beta warning is dropped with the other warnings; RPC CUDA caveats (no JIT/profiling) are no longer called out. Lines: +41/-9 implementation and docs, +37/-17 test. Test plan: `test_init_rpc_twice` now asserts the first `init_rpc` warns and the second does not, and that it warns again with warn_always enabled. ``` python -m pytest test/distributed/rpc/test_tensorpipe_agent.py -k "test_init_rpc_twice or test_init_rpc_then_pg or test_remote_module or test_dist_optim" lintrunner -a ``` This PR was authored with an AI assistant (Claude). ghstack-source-id: 1522c07 Pull-Request: #203464
d4l3k
force-pushed
the
d4l3k/delete-rpc-tutorial
branch
from
November 4, 2026 22:16
835352a to
1386df4
Compare
d4l3k
added a commit
to pytorch/pytorch
that referenced
this pull request
Nov 4, 2026
torch.distributed.rpc (TensorPipe agent, RRef, dist autograd, DistributedOptimizer, RemoteModule) has had no feature work in years and its upstream TensorPipe dependency is unmaintained. Deprecate it for removal in a future version; the RPC docs list alternatives. `init_rpc`, the entry point for all RPC APIs, emits a once-per-process `FutureWarning`. The RPC docs replace the "stable and in maintenance mode" and CUDA beta warnings with the deprecation notice, the RPC design notes and `DistributedOptimizer`/`RemoteModule` docstrings get deprecation notes, the broken rST link in the MyST note is fixed, and links to the RPC tutorials (being deleted in pytorch/tutorials#3994) are removed. The CUDA beta warning is dropped with the other warnings; RPC CUDA caveats (no JIT/profiling) are no longer called out. Lines: +41/-23 implementation and docs, +37/-18 test. Test plan: `test_init_rpc_twice` now asserts the first `init_rpc` warns and the second does not, and that it warns again with warn_always enabled. ``` python -m pytest test/distributed/rpc/test_tensorpipe_agent.py -k "test_init_rpc_twice or test_init_rpc_then_pg or test_remote_module or test_dist_optim" lintrunner -a ``` This PR was authored with an AI assistant (Claude). ghstack-source-id: c65a128 Pull-Request: #203464
torch.distributed.rpc is being deprecated for removal in a future PyTorch version (companion pytorch/pytorch PR, which should land first). Delete all RPC tutorials (getting started, parameter server, batch async execution, RPC + DDP, RPC profiling), their thumbnails and index/landing cards, and a stale card for the already removed cuda_rpc recipe. Redirect the deleted pages to the RPC docs page, which lists alternatives once the pytorch PR lands. Existing deprecation stubs (recipes/distributed_rpc_profiling, dist_pipeline_parallel_tutorial) are left as is. Lines: +7/-1985, docs only, no tests. Test plan: `git grep` finds no references to the deleted pages outside redirects.py; `lintrunner -m main` clean. Full doc build left to CI. This PR was authored with an AI assistant (Claude).
d4l3k
force-pushed
the
d4l3k/delete-rpc-tutorial
branch
from
November 4, 2026 22:27
1386df4 to
58f40ae
Compare
d4l3k
marked this pull request as ready for review
November 4, 2026 22:30
kapilsh
approved these changes
Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to pytorch/pytorch#203464
Description
torch.distributed.rpc is being deprecated for removal in a future PyTorch version (pytorch/pytorch#203464, which should land first). Delete all RPC tutorials (getting started, parameter server, batch async execution, RPC + DDP, RPC profiling), their thumbnails and index/landing cards, and a stale card for the already removed cuda_rpc recipe. Redirect the deleted pages to the RPC docs page, which lists alternatives once the pytorch PR lands. Existing deprecation stubs (recipes/distributed_rpc_profiling, dist_pipeline_parallel_tutorial) are left as is.
Lines: +7/-1985, docs only, no tests.
Test plan:
git grepfinds no references to the deleted pages outside redirects.py;lintrunner -m mainclean. Full doc build left to CI.Checklist
This PR was authored with an AI assistant (Claude).