Update labeling bot (#21548)
Current labeling bot over-applies many of the labels (e.g., ep:CUDA and platform:windows) and is missing some of the APIs + EPs Working on migrating this workflow to GitHub policies but would like to use this fix in the meantime to avoid causing any issues w/ ORT 1.19 ### Description <!-- Describe your changes. --> ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
This commit is contained in:
Родитель
7543dd040b
Коммит
d98581495f
|
@ -1,20 +1,25 @@
|
|||
api:javascript: '/\bjavascript\b/i'
|
||||
api:CSharp: '/(\bc\s*sharp\b|\bc#)/i'
|
||||
api:java: '/\bjava\b/i'
|
||||
api:javascript: '/\bjavascript\b/i'
|
||||
ep:ACL: '/\bacl\b/i'
|
||||
ep:ArmNN: '/\barmnn\b/i'
|
||||
ep:CUDA: '/\bcuda\b/i'
|
||||
ep:DML: '/(\bdirectml\b|\bdml\b)/i'
|
||||
ep:MIGraphX: '/\bmigraphx\b/i'
|
||||
ep:oneDNN: '/\bonednn\b/i'
|
||||
ep:CANN: '/\bcann\b/i'
|
||||
ep:CoreML: '/\bcore\s*ml\b/i'
|
||||
ep:DML: '/(\bdirect\s*ml\b|\bdml\b)/i'
|
||||
ep:MIGraphX: '/\bmi\s*graph\s*x\b/i'
|
||||
ep:oneDNN: '/\bone\s*dnn\b/i'
|
||||
ep:OpenVINO: '/\bopen\s*vino\b/i'
|
||||
ep:RockchipNPU: '/\brockchip\b/i'
|
||||
ep:QNN: '/\bqnn\b/i'
|
||||
ep:RockchipNPU: '/\brockchip(?:npu)?\b/i'
|
||||
ep:ROCm: '/\brocm\b/i'
|
||||
ep:TensorRT: '/(\btensor\s*rt\b|\btrt\b)/i'
|
||||
ep:SNPE: '/\bsnpe\b/i'
|
||||
ep:tvm: '/\btvm\b/i'
|
||||
ep:VitisAI: '/\bvitis(?:ai)?\b/i'
|
||||
platform:jetson: '/\bjetson\b/i'
|
||||
platform:mobile: '/(\bobj(?:ective)?-?c\b|\bnnapi\b|\bcore-?ml\b|\bmobile\b|\bandroid\b|\bios\b|\bxamarin\b|\bmaui\b)/i'
|
||||
platform:web: '/(\bwebgl\b|\bweb-?gpu\b|\bwasm\b|\bonnxruntime-node\b|\bonnxruntime-web\b)/i'
|
||||
platform:windows: '/(\bwindows\b|\bwinrt\b|\bwinml\b)/i'
|
||||
model:transformer: '/(\bbert\b|\bgpt-?2\b|\bhugging-?face\b|\blong-?former\b|\bt5\b)/i'
|
||||
quantization: '/(is this a quantized model\?\n\nYes|\bquantization\b)/i'
|
||||
ep:WebGPU: '/\bwebgpu\b/i'
|
||||
ep:WebNN: '/\bwebnn\b/i'
|
||||
ep:Xnnpack: '/\bxnn\s*pack\b/i'
|
||||
.NET: '/(\bdot\s*net\b|\bnuget\b|\.net\b)/i'
|
||||
platform:jetson: '/(\bjetson\b|\bjetpack\b)/i'
|
||||
platform:mobile: '/(\bobj(?:ective)?-?c\b|\bnnapi\b|\bmobile\b|\bandroid\b|\bios\b|\bxamarin\b|\bmaui\b)/i'
|
||||
platform:web: '/(\bwebgl\b|\bweb-?gpu\b|\bwasm\b|\bonnxruntime-node\b|\bonnxruntime-web\b|\bonnxruntime-react-native\b|\bnpm\b|\btransformers\.js\b)/i'
|
||||
model:transformer: '/\btransformers(?!\.js)\b/i'
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
ep:CUDA: '/\bcuda\b/i'
|
||||
ep:TensorRT: '/(\btensor\s*rt\b|\btrt\b)/i'
|
||||
platform:windows: '/(\bwindows\b|\bwinrt\b|\bwinml\b)/i'
|
||||
quantization: '/(quant|\bqdq\b)/i'
|
|
@ -0,0 +1,20 @@
|
|||
name: "Title Only Issue Labeler"
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: github/issue-labeler@v3.4
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
configuration-path: .github/title-only-labeler.yml
|
||||
not-before: 2020-01-15T02:54:32Z
|
||||
enable-versioned-regex: 0
|
||||
include-title: 1
|
||||
include-body: 0
|
Загрузка…
Ссылка в новой задаче