From e795e64c7747faa1b91eea8260dc37275a023186 Mon Sep 17 00:00:00 2001 From: "Zhong, Ruijie" Date: Thu, 25 Sep 2025 20:46:14 -0700 Subject: [PATCH 1/4] [CI] Add dynamic skip template --- .github/ISSUE_TEMPLATE/dynamic-skip.yml | 60 +++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/dynamic-skip.yml diff --git a/.github/ISSUE_TEMPLATE/dynamic-skip.yml b/.github/ISSUE_TEMPLATE/dynamic-skip.yml new file mode 100644 index 0000000000..3a769d5a5a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/dynamic-skip.yml @@ -0,0 +1,60 @@ +name: 🐛 Dynamic skip +description: Create a report to help us skip the known issue + +body: +- type: markdown + attributes: + value: > + #### Before submitting a bug, please make sure the issue hasn't been already addressed by searching through [the existing and past issues](https://github.com/pytorch/pytorch/issues?q=is%3Aissue+sort%3Acreated-desc+). +- type: textarea + attributes: + label: 🐛 Describe the bug with skip template + description: | + Please provide a clear and concise description of what the bug is. + The template for dynamic skip as below: + Template(Check in the github action summary): + ```python + Cases: + [Category],[Class name],[Test name] + ``` + + example: + ```python + Cases: + op_ut,third_party.torch-xpu-ops.test.xpu.test_transformers_xpu.TestTransformersXPU,test_scaled + ``` + + If the code is too long (hopefully, it isn't), feel free to put it in a public gist and link it in the issue: https://gist.github.com. + + Please also paste or describe the results you observe instead of the expected results. If you observe an error, please paste the error message including the **full** traceback of the exception. It may be relevant to wrap error messages in ```` ```triple quotes blocks``` ````. + placeholder: | + A clear and concise description of what the bug is and also align the dynamic template. + ``` + # Skippped cases with dynamic template + ``` + + ```python + # Sample code to reproduce the problem + ``` + + ``` + The error message you got, with the full traceback. + ``` + validations: + required: true +- type: textarea + attributes: + label: Versions + description: | + Please run the following and paste the output below. + ```sh + wget https://raw.githubusercontent.com/pytorch/pytorch/main/torch/utils/collect_env.py + # For security purposes, please check the contents of collect_env.py before running it. + python collect_env.py + ``` + validations: + required: true +- type: markdown + attributes: + value: > + Thanks for contributing 🎉! From 095fcbfa57faaa9f98d15e756f3422c3abfce975 Mon Sep 17 00:00:00 2001 From: "Zhong, Ruijie" Date: Thu, 25 Sep 2025 20:50:25 -0700 Subject: [PATCH 2/4] udpate the format --- .github/ISSUE_TEMPLATE/dynamic-skip.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/dynamic-skip.yml b/.github/ISSUE_TEMPLATE/dynamic-skip.yml index 3a769d5a5a..5494b6bb6c 100644 --- a/.github/ISSUE_TEMPLATE/dynamic-skip.yml +++ b/.github/ISSUE_TEMPLATE/dynamic-skip.yml @@ -18,6 +18,7 @@ body: [Category],[Class name],[Test name] ``` + example: ```python Cases: From 1448601330dd5248d66584e7f4f4aaabe27dacfe Mon Sep 17 00:00:00 2001 From: "Zhong, Ruijie" Date: Thu, 25 Sep 2025 20:53:11 -0700 Subject: [PATCH 3/4] udpate the format --- .github/ISSUE_TEMPLATE/dynamic-skip.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/dynamic-skip.yml b/.github/ISSUE_TEMPLATE/dynamic-skip.yml index 5494b6bb6c..7a911c4030 100644 --- a/.github/ISSUE_TEMPLATE/dynamic-skip.yml +++ b/.github/ISSUE_TEMPLATE/dynamic-skip.yml @@ -12,15 +12,15 @@ body: description: | Please provide a clear and concise description of what the bug is. The template for dynamic skip as below: - Template(Check in the github action summary): + ```python + # Template(Check in the github action summary) Cases: [Category],[Class name],[Test name] ``` - - example: ```python + # example Cases: op_ut,third_party.torch-xpu-ops.test.xpu.test_transformers_xpu.TestTransformersXPU,test_scaled ``` From e115a1833766172c7aade79e56a5f03288ea14c0 Mon Sep 17 00:00:00 2001 From: "Wang, Chuanqi" Date: Fri, 26 Sep 2025 13:17:37 +0800 Subject: [PATCH 4/4] Update .github/ISSUE_TEMPLATE/dynamic-skip.yml --- .github/ISSUE_TEMPLATE/dynamic-skip.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/dynamic-skip.yml b/.github/ISSUE_TEMPLATE/dynamic-skip.yml index 7a911c4030..bdde3c5809 100644 --- a/.github/ISSUE_TEMPLATE/dynamic-skip.yml +++ b/.github/ISSUE_TEMPLATE/dynamic-skip.yml @@ -1,5 +1,7 @@ name: 🐛 Dynamic skip -description: Create a report to help us skip the known issue +description: Create an issue to skip PR unrelated failures dynamically +title: "[Bug Skip]: " +labels: ["skipped"] body: - type: markdown