Performance/caching issue: tokenizer fails to reset has_special flag after encountering special span, effectively disabling caching #6052
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: Explosion Bot | |
| on: | |
| issue_comment: | |
| types: | |
| - created | |
| - edited | |
| permissions: {} | |
| jobs: | |
| explosion-bot: | |
| if: github.repository_owner == 'explosion' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Dump GitHub context | |
| env: | |
| GITHUB_CONTEXT: ${{ toJson(github) }} | |
| run: echo "$GITHUB_CONTEXT" | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | |
| - name: Install and run explosion-bot | |
| run: | | |
| git config --global url."https://x-access-token:${EXPLOSIONBOT_TOKEN}@github.com/".insteadOf "https://github.com/" | |
| pip install git+https://github.com/explosion/explosion-bot | |
| python -m explosionbot | |
| env: | |
| EXPLOSIONBOT_TOKEN: ${{ secrets.EXPLOSIONBOT_TOKEN }} | |
| INPUT_TOKEN: ${{ secrets.EXPLOSIONBOT_TOKEN }} | |
| INPUT_BK_TOKEN: ${{ secrets.BUILDKITE_SECRET }} | |
| ENABLED_COMMANDS: "test_gpu,test_slow,test_slow_gpu" | |
| ALLOWED_TEAMS: "spaCy" |