Dynamic LoRA placement/balancing in InferencePool (beyond “route to where it’s loaded”) #5273
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
| name: 'Unstale Issue or PR' | |
| on: | |
| issues: | |
| types: [ reopened ] | |
| issue_comment: | |
| types: [ created ] | |
| pull_request: | |
| types: [ reopened ] | |
| jobs: | |
| remove-stale: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| if: >- | |
| ( | |
| github.event_name == 'pull_request' && | |
| github.event.pull_request.state == 'open' && | |
| (contains(github.event.pull_request.labels.*.name, 'lifecycle/stale') || | |
| contains(github.event.pull_request.labels.*.name, 'lifecycle/rotten')) | |
| ) || | |
| ( | |
| github.event_name != 'pull_request' && | |
| github.event.issue.state == 'open' && | |
| (contains(github.event.issue.labels.*.name, 'lifecycle/stale') || | |
| contains(github.event.issue.labels.*.name, 'lifecycle/rotten')) | |
| ) | |
| steps: | |
| - name: 'Checkout repository' | |
| uses: actions/checkout@v7 | |
| - name: 'Remove stale labels' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| TARGET_NUMBER: ${{ github.event.issue.number || github.event.pull_request.number }} | |
| run: | | |
| echo "Removing stale labels from item #$TARGET_NUMBER" | |
| gh issue edit "$TARGET_NUMBER" --remove-label "lifecycle/stale" || true | |
| gh issue edit "$TARGET_NUMBER" --remove-label "lifecycle/rotten" || true |