feat: extend moe model check to multimodal ones and add block quantization parameters #1236
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: Package Build | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.repository }}-package-build-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| python-version: ["3.11"] | |
| os: [ubuntu-22.04] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - uses: ./.github/actions/setup-uv-project | |
| - name: Build | |
| run: | | |
| uv build | |
| - name: Get wheel filename | |
| id: get_wheel | |
| run: | | |
| wheel=$(basename $(ls -1 dist/*.whl)) | |
| echo "wheel_name=$wheel" >> $GITHUB_OUTPUT | |
| - name: Upload Wheel Artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: ${{ steps.get_wheel.outputs.wheel_name }} | |
| path: dist/*.whl | |
| retention-days: 7 |