Repository navigation
[Kineto] Finish documentation and compatibility cleanup (#201671) - #201671
ryanzhang22 wants to merge 1 commit into
Conversation
PR Status: Approved 🚀Please fix all CI failures and trigger merge by commenting "@pytorchbot merge". ✅ AUTOMATED REVIEW - Ready for human review:
Findings (1): Reviewed commit: 🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/201671
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 00a4ede with merge base 2358fae ( 🟡 GREEN LIGHT - OUTDATED (earlier commit) - PR requires human review:
reason: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@ryanzhang22 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D126382134. |
4eadd3f to
58dab73
Compare
Withdrawn: the automated review of 58dab73 found nothing blocking.
Summary: Pull Request resolved: pytorch#201671 Finish the core move by relocating Kineto documentation, updating path references, and removing obsolete CI patterns and build metadata. Test Plan: Lint passed for all changed follow-up files. The combined fbcode and tools contents match the original unsplit move byte-for-byte. The atomic parent passed Buck configured-target queries for `kineto` and `config_test`. ```sh arc lint --never-apply-patches --paths-from /tmp/kineto-split-20261019/followup-paths.txt ``` Differential Revision: D126382134
58dab73 to
41b0d67
Compare
Summary: Pull Request resolved: pytorch#201671 Finish the core move by relocating Kineto documentation, updating path references, and removing obsolete CI patterns and build metadata. Test Plan: Lint passed for all changed follow-up files. The combined fbcode and tools contents match the original unsplit move byte-for-byte. The atomic parent passed Buck configured-target queries for `kineto` and `config_test`. ```sh arc lint --never-apply-patches --paths-from /tmp/kineto-split-20261019/followup-paths.txt ``` Differential Revision: D126382134
41b0d67 to
708831f
Compare
Summary: Pull Request resolved: pytorch#201671 Finish the core move by relocating Kineto documentation, updating path references, and removing obsolete CI patterns and build metadata. Test Plan: Lint passed for all changed follow-up files. The combined fbcode and tools contents match the original unsplit move byte-for-byte. The atomic parent passed Buck configured-target queries for `kineto` and `config_test`. ```sh arc lint --never-apply-patches --paths-from /tmp/kineto-split-20261019/followup-paths.txt ``` Reviewed By: scotts Differential Revision: D126382134
708831f to
00a4ede
Compare
There was a problem hiding this comment.
Automated review of 00a4ede: nothing blocking; ready for human review.
This PR moves the last Kineto files (READMEs, interconnect image, .gitignore) from third_party/kineto to torch/csrc/profiler/kineto and removes the leftover third_party/kineto entries from CI, lint, labeler and merge-rule config. Recommendation: Approve. Nothing blocks the merge, but the .gitignore issue is worth fixing before landing because it affects every existing checkout.
⚪ 1 non-blocking finding
Line 613 in 00a4ede
This entry lost its # Kineto's own third_party comment, which was only on the deleted duplicate line. The other surviving entry at line 938 still has the comment, so the two exclude lists are now inconsistent. Move the comment onto line 613. The line sits under the # Vendored: raw throws are upstream's call, not ours. header, which now only fits because of what's inside libkineto/third_party (e.g. dynolog_headers), not because Kineto itself is vendored. The comment makes that clear.
This review is AI-generated and advisory. Each new automated review replaces the previous one.
|
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: This PR has internal changes and must be landed via Phabricator! Please try reimporting/rexporting the PR! Details for Dev Infra teamRaised by workflow job |
|
@pytorchmergebot merge -f "already landed internally, lets land" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…ted (#202455) ✴️ iz2: Two prompt fixes to Stage B of the hardened PR review. In both cases a real blocking review was rejected by `extract_verdict.py` and nothing was posted. Part of pytorch/test-infra#9260. 1. **Needs Discussion with a blocker.** Stage A can recommend Needs Discussion while naming a defect that must be fixed. Stage B mapped Needs Discussion to `ready_for_human_review` and the defect to `major`, and the sanitizer refuses that combination. This happened on #202251 and #201766. Now such a defect is `major` and the verdict is `changes_requested`; open questions, requests for data or discussion, and unreviewed files are not such defects. The summary keeps the Recommendation and says when a defect overrode it. 2. **Findings on files with no anchorable line.** `/tmp/pr-files.txt` lists deletions, pure renames, mode-only changes and binary files, but their diffs show no added or context line, so a finding on one is discarded and a change request left with none is rejected (#201671). The prompt now names these and points Stage B at a changed line instead. This does not fix PRs whose every file is such a file, since they have no anchorable line at all. A separate change to the sanitizer covers that case. Test plan: `python3 -m unittest test_workflow_contract` in `scripts/pr_review` (174 pass). Two new tests pin both rules and fail on the old prompt. Pull Request resolved: #202455 Approved by: https://github.com/huydhn
…ted (pytorch#202455) ✴️ iz2: Two prompt fixes to Stage B of the hardened PR review. In both cases a real blocking review was rejected by `extract_verdict.py` and nothing was posted. Part of pytorch/test-infra#9260. 1. **Needs Discussion with a blocker.** Stage A can recommend Needs Discussion while naming a defect that must be fixed. Stage B mapped Needs Discussion to `ready_for_human_review` and the defect to `major`, and the sanitizer refuses that combination. This happened on pytorch#202251 and pytorch#201766. Now such a defect is `major` and the verdict is `changes_requested`; open questions, requests for data or discussion, and unreviewed files are not such defects. The summary keeps the Recommendation and says when a defect overrode it. 2. **Findings on files with no anchorable line.** `/tmp/pr-files.txt` lists deletions, pure renames, mode-only changes and binary files, but their diffs show no added or context line, so a finding on one is discarded and a change request left with none is rejected (pytorch#201671). The prompt now names these and points Stage B at a changed line instead. This does not fix PRs whose every file is such a file, since they have no anchorable line at all. A separate change to the sanitizer covers that case. Test plan: `python3 -m unittest test_workflow_contract` in `scripts/pr_review` (174 pass). Two new tests pin both rules and fail on the old prompt. Pull Request resolved: pytorch#202455 Approved by: https://github.com/huydhn
…ted (pytorch#202455) ✴️ iz2: Two prompt fixes to Stage B of the hardened PR review. In both cases a real blocking review was rejected by `extract_verdict.py` and nothing was posted. Part of pytorch/test-infra#9260. 1. **Needs Discussion with a blocker.** Stage A can recommend Needs Discussion while naming a defect that must be fixed. Stage B mapped Needs Discussion to `ready_for_human_review` and the defect to `major`, and the sanitizer refuses that combination. This happened on pytorch#202251 and pytorch#201766. Now such a defect is `major` and the verdict is `changes_requested`; open questions, requests for data or discussion, and unreviewed files are not such defects. The summary keeps the Recommendation and says when a defect overrode it. 2. **Findings on files with no anchorable line.** `/tmp/pr-files.txt` lists deletions, pure renames, mode-only changes and binary files, but their diffs show no added or context line, so a finding on one is discarded and a change request left with none is rejected (pytorch#201671). The prompt now names these and points Stage B at a changed line instead. This does not fix PRs whose every file is such a file, since they have no anchorable line at all. A separate change to the sanitizer covers that case. Test plan: `python3 -m unittest test_workflow_contract` in `scripts/pr_review` (174 pass). Two new tests pin both rules and fail on the old prompt. Pull Request resolved: pytorch#202455 Approved by: https://github.com/huydhn
Summary:
Finish the core move by relocating Kineto documentation, updating path references, and removing obsolete CI patterns and build metadata.
Test Plan:
Lint passed for all changed follow-up files. The combined fbcode and tools contents match the original unsplit move byte-for-byte. The atomic parent passed Buck configured-target queries for
kinetoandconfig_test.Reviewed By: scotts