Make the custom kernel for mlx type safe #31
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: Dry-run Publish | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
jobs: | |
build_wheels: | |
uses: dottxt-ai/outlines-core/.github/workflows/build_wheels.yml@main | |
dry_run: | |
needs: build_wheels | |
name: Dry-run for publishing to PyPI and crates.io | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/download-artifact@v4 | |
with: | |
pattern: wheels-* | |
merge-multiple: true | |
path: dist | |
- uses: actions/download-artifact@v4 | |
with: | |
name: sdist | |
path: dist | |
- name: List downloaded artifacts | |
run: ls -lh dist/ | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Dry-run publish to crates.io | |
run: cargo publish --dry-run --allow-dirty |