Skip to content

v0.4.1: Gemma 2 Support, CrossEntropy Patching FIx, and GroupNorm #15

v0.4.1: Gemma 2 Support, CrossEntropy Patching FIx, and GroupNorm

v0.4.1: Gemma 2 Support, CrossEntropy Patching FIx, and GroupNorm #15

Workflow file for this run

name: Publish Liger Kernel on Release
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine wheel toml
- name: Build package
run: |
python -m build
- name: Publish package to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload dist/*
- name: Create release notes
run: |
echo "Release published to PyPI with the name 'liger-kernel'."