feat: Adds embed_tokens, lm_head as trainable for vocab expansion in peft and enables tying of adapters #2928
Workflow file for this run
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: Test | |
| on: | |
| push: | |
| branches: [ "main", "release" ] | |
| pull_request: | |
| branches: [ "main", "release" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: | |
| - setup: "3.9" | |
| tox: "py39" | |
| - setup: "3.10" | |
| tox: "py310" | |
| - setup: "3.11" | |
| tox: "py311" | |
| - setup: "3.12" | |
| tox: "py312" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install tox | |
| - name: Run unit tests | |
| run: tox -e py |