Skip to content

[CI] Remove obsolete TorchScript and ONNX test entries from trim - #13

Merged
cyyever merged 1 commit into
trimfrom
ci/trim-removed-test-jobs
Oct 30, 2026
Merged

cyyever merged 1 commit into
trimfrom
ci/trim-removed-test-jobs

Conversation

@cyyever

@cyyever cyyever commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

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)

User request: “好的,开pr” — remove CI entries for features already removed from trim, preserving CUDA/XPU/ROCm support.

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 two jit_legacy matrix 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 -n passed for all three changed shell scripts; git diff --check passed.
  • Parsed the before/after periodic matrices: exactly two jit_legacy rows removed; all other rows identical. Confirmed the removed hook directory and ONNX test script are absent from the tracked tree.
  • Targeted lintrunner -a --take GHA,ACTIONLINT,SHELLCHECK,NEWLINE ran. Baseline comparison found the same 31 diagnostics, including identical offending source lines: 8 existing undefined ci-docker-hash inputs, 22 existing shell quoting warnings, and 1 missing benchmark script in this sparse checkout. No new diagnostics. spin lint bootstrap fails because the existing virtual environment lacks packaging.
  • GPU builds/tests were not run for this CI cleanup; this does not resolve the current CUDA build failure.

AI assistance: OpenAI Codex. Draft for human review.

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]>
@cyyever
cyyever marked this pull request as ready for review October 30, 2026 10:32
@cyyever
cyyever merged commit 33bc00a into trim Oct 30, 2026
20 checks passed
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.

1 participant