FreeToken brings datacenter-scale model serving to your desktop. Run massive models locally, fast and efficiently.
ci: auto-label amd issues and prs by title (#620)
Xiaoze Fan377a3bc4284f
diff --git a/.github/issue-title-labeler.yml b/.github/issue-title-labeler.ymlnew file mode 100644index 00000000..48826301--- /dev/null+++ b/.github/issue-title-labeler.yml@@ -0,0 +1,2 @@+amd:+ - '/\b(ROCm|HIP|RCCL|RDNA\s?\d?|CDNA\s?\d?|gfx\d{3,4}[a-z]?|MI\d{3}X?|RX\s?\d{4}|Radeon(?!\s*(\d{3}M|Graphics|Vega))|AMD[\s-]*(GPUs?|graphics|cards?|Instinct))\b|\bAMD[\s-]*显卡|\(amd\)|(?<!\w)A卡/i'diff --git a/.github/workflows/issue-labels.yml b/.github/workflows/issue-labels.ymlindex 35f325bf..0c11c3c4 100644--- a/.github/workflows/issue-labels.yml+++ b/.github/workflows/issue-labels.yml@@ -1,23 +1,35 @@-name: Label issues+name: Label issues and PRson:issues:types: [opened, edited]+ pull_request_target:+ types: [opened, edited]permissions:issues: write+ pull-requests: writejobs:label:runs-on: ubuntu-lateststeps:- - uses: github/[email protected]+ - if: github.event_name == 'issues'+ uses: github/[email protected]with:configuration-path: .github/issue-labeler.ymlenable-versioned-regex: 0include-title: 0repo-token: ${{ github.token }}- - if: github.event.action == 'opened'+ - if: github.event.action == 'opened' || github.event.changes.title+ uses: github/[email protected]+ with:+ configuration-path: .github/issue-title-labeler.yml+ enable-versioned-regex: 0+ include-title: 1+ include-body: 0+ repo-token: ${{ github.token }}+ - if: github.event_name == 'issues' && github.event.action == 'opened'uses: actions/github-script@v7with:script: |