Repository navigation
[doc] Remove the vendored PyTorch tuning tutorial and its hash test - #66808
Merged
Merged
Conversation
dstrodtman
marked this pull request as ready for review
October 7, 2026 14:14
Contributor
There was a problem hiding this comment.
Code Review
This pull request removes the 'doc/external/' directory, which contained a vendored PyTorch hyperparameter tuning tutorial and its associated hash-guard test ('test_hashes.py'). All references to this directory and its tests have been cleaned up across Buildkite test rules, pre-commit configurations, CI scripts, and Bazel build files. There are no review comments, so I have no feedback to provide.
dstrodtman
force-pushed
the
doc-1704-docs-example-test-optin
branch
from
October 13, 2026 13:10
29386bf to
091d8bb
Compare
dstrodtman
force-pushed
the
djs-261007-delete-doc-external
branch
from
October 13, 2026 13:13
8d5b17b to
b5289b0
Compare
elliot-barn
approved these changes
Oct 13, 2026
doc/external/ held a copy of the PyTorch "Hyperparameter tuning with Ray Tune" tutorial plus test_external_hashes, which only asserted the copy's sha256 to flag drift. The canonical tutorial lives in pytorch/tutorials and has diverged from this copy, which Sphinx never rendered. Remove the directory, its BUILD target and the now-unused ci_require load, its test.rules routing and expectations, its pre-commit excludes, and its entry in DOC_EXAMPLE_PREFIXES. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
dstrodtman
force-pushed
the
djs-261007-delete-doc-external
branch
from
October 13, 2026 19:00
b5289b0 to
9e85e59
Compare
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.
Why are these changes needed?
doc/external/held a vendored copy of the PyTorch Hyperparameter tuning with Ray Tune tutorial, plustest_external_hashes. That test only asserted the copy's sha256 so that edits would flag drift from the PyTorch page. The canonical tutorial lives in pytorch/tutorials and has since been rewritten there, so the copy here no longer matches it. Sphinx never rendered the copy because it sits outsidedoc/source/, so it has no docs.ray.io URL and needs no redirect. It's the last item in the tree with its own one-off CI routing.This PR removes the following:
doc/external/directory.test_external_hashestarget indoc/BUILD.bazel, along with theci_requireload that only that target used. Buildifier drops the load.doc/external/routing in.buildkite/test.rules.txtand its expectations in.buildkite/test.rules.test.txt.doc/external/pre-commit excludes.doc/external/entry inDOC_EXAMPLE_PREFIXESinci/ray_ci/doc/doc_example_targets.py.Stacked on #66806, which rewrites the same
doc/external/routing lines. Merge that first. This PR's base is its branch.Related issue number
None.
Duplicate check
gh pr list --state open --search "doc/external"returns only #66806, which this PR stacks on. No other open PR removes this directory.Tests run
rayci -buildkite-dir .buildkite test-rules: all 180 expectations pass. As a negative control, an appended wrong expectation fails, so the check is live.pytest ci/ray_ci/doc/test_doc_example_targets.py: 8 passed.pre-commit runon the changed files: passes, including buildifier and buildifier-lint.git grep -n "doc/external\|test_external_hashes"returns nothing.AI assistance (Claude Code) was used to prepare this change. I reviewed every changed line.
🤖 Generated with Claude Code