Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Commit

Permalink
Build for multiple versions of python
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha0552 authored Jun 3, 2024
1 parent 2fa1dc3 commit d23964f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build-triton.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
package-dir: python
env:
CIBW_BUILD: cp311-manylinux_x86_64
CIBW_BUILD: cp${{ matrix.python_version }}-manylinux_x86_64
SOURCE_DATE_EPOCH: ${{ steps.source-date-epoch.outputs.SOURCE_DATE_EPOCH }}

- name: Create release
Expand All @@ -46,6 +46,10 @@ jobs:
files: wheelhouse/*.whl
tag_name: ${{ github.event.inputs.tag_name }}

strategy:
matrix:
python_version: [37, 38, 39, 310, 311, 312]

on:
workflow_dispatch:
inputs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-vllm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD: cp311-manylinux_x86_64
CIBW_BUILD: cp${{ matrix.python_version }}-manylinux_x86_64
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: ghcr.io/sasha0552/manylinux2014_x86_64-cuda
CIBW_MANYLINUX_X86_64_IMAGE: ghcr.io/sasha0552/manylinux2014_x86_64-cuda
CIBW_REPAIR_WHEEL_COMMAND: ~
Expand All @@ -48,6 +48,10 @@ jobs:
files: wheelhouse/*.whl
tag_name: ${{ github.event.inputs.tag_name }}

strategy:
matrix:
python_version: [38, 39, 310, 311]

on:
workflow_dispatch:
inputs:
Expand Down

0 comments on commit d23964f

Please sign in to comment.