Repository navigation
[CI] Remove obsolete TorchScript and ONNX test entries from trim - #13
Merged
Merged
Conversation
The trim branch removed the TorchScript executor, test/jit_hooks and .ci/caffe2/test.sh, but CI still schedules or invokes those paths. Remove these entries while preserving accelerator test coverage and the retained C++ schema/parser test_jit target. Gitea remains CUDA-only until other backend runners are provisioned. Test Plan: ```sh bash -n .ci/pytorch/build.sh bash -n .ci/pytorch/test.sh bash -n .ci/pytorch/macos-test.sh git diff --check lintrunner -a --take GHA,ACTIONLINT,SHELLCHECK,NEWLINE -- .ci/pytorch/build.sh .ci/pytorch/test.sh .ci/pytorch/macos-test.sh .github/workflows/periodic.yml .github/workflows/_rocm-test-no-dind.yml .ci/RELEASE.md ``` Syntax and diff checks passed. Parsed matrices confirm only the two jit_legacy entries were removed. Lint reports the same 31 diagnostics as the baseline, with no new findings; spin lint bootstrap lacks packaging. GPU builds/tests were not run for this deletion-only CI change. Assisted-by: OpenAI Codex Signed-off-by: cyy <[email protected]>
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.
Linked issue or supporting maintainer
Requested by the BakeLab repository owner: “我们要支持cuda/xpu/rocm”, “虽然gitee目前只有cuda runner”, and “好的,开pr”.
BC-breaking?
No. Supported accelerator backends and test implementations are unchanged.
Summary (human written only)
Agent details (AI-generated)
Trim has removed the TorchScript executor,
test/jit_hooks, and.ci/caffe2/test.sh, but CI still references them. This PR removes twojit_legacymatrix entries, the JIT hooks build/test steps, and the obsolete ONNX dispatch branch in the ROCm workflow.CUDA/XPU/ROCm coverage remains. Gitea still schedules only CUDA, since XPU/ROCm runners are not provisioned. Retain C++
test_jit: its schema/parser tests remain valid. The CUDA image/compiler repair is separate in #11.Validation:
bash -npassed for all three changed shell scripts;git diff --checkpassed.jit_legacyrows removed; all other rows identical. Confirmed the removed hook directory and ONNX test script are absent from the tracked tree.lintrunner -a --take GHA,ACTIONLINT,SHELLCHECK,NEWLINEran. Baseline comparison found the same 31 diagnostics, including identical offending source lines: 8 existing undefinedci-docker-hashinputs, 22 existing shell quoting warnings, and 1 missing benchmark script in this sparse checkout. No new diagnostics.spin lintbootstrap fails because the existing virtual environment lackspackaging.AI assistance: OpenAI Codex. Draft for human review.