Skip to content

ROCm 6.1 package

ROCm 6.1 package #1151

# GH actions.
name: Wheel-Manylinux-Nightly
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 6 * * *' # 6 AM UTC
jobs:
Build_template:
steps:
- name: Reclaim disk space
run: |
df -h
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /usr/local/.ghcup
df -h
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Setup script env
run: |
rm -rf conda
ln -s 3rdparty/tlcpack/conda conda
- name: Checkout source
run: |
git clone https://github.com/mlc-ai/relax tvm --recursive
git clone https://github.com/mlc-ai/mlc-llm mlc-llm --recursive
- name: Sync MLC AI Package
run: |
python scripts/sync_package.py --gpu ${{ matrix.config.gpu }} --package tvm --package-name ${{ matrix.pkg_kind == 'nightly' && 'mlc-ai-nightly' || 'mlc-ai' }} --revision origin/mlc ${{ matrix.pkg_kind == 'nightly' && '--skip-checkout' || '' }} --skip-conda
- name: Sync MLC LLM Package
if: matrix.pkg_kind == 'nightly'
run: |
python scripts/sync_package.py --gpu ${{ matrix.config.gpu }} --package mlc-llm --package-name ${{ matrix.pkg_kind == 'nightly' && 'mlc-llm-nightly' || 'mlc-llm' }} --revision origin/main ${{ matrix.pkg_kind == 'nightly' && '--skip-checkout' || '' }} --skip-conda
- name: Build TVM Unity
env:
IMAGE: ${{ matrix.config.image }}
GPU: ${{ matrix.config.gpu }}
run: |
docker/bash.sh --no-gpu $IMAGE ./scripts/build_mlc_ai_wheel_manylinux.sh --gpu $GPU
- name: Build MLC-LLM
if: matrix.pkg_kind == 'nightly'
env:
IMAGE: ${{ matrix.config.image }}
GPU: ${{ matrix.config.gpu }}
run: |
docker/bash.sh --no-gpu $IMAGE ./scripts/build_mlc_llm_wheel_manylinux.sh --gpu $GPU
- name: Wheel-Deploy
if: github.ref == 'refs/heads/main'
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.MLC_GITHUB_TOKEN }}
with:
files: |
tvm/python/repaired_wheels/*.whl
${{ matrix.pkg_kind == 'nightly' && 'mlc-llm/python/repaired_wheels/*.whl' || '' }}
tag_name: v0.9.dev0
prerelease: true
Build_CUDA:
uses: Build_template@main

Check failure on line 70 in .github/workflows/wheel_manylinux_nightly.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/wheel_manylinux_nightly.yaml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
strategy:
matrix:
pkg_kind: ['nightly']
# matrix of build configs
config:
- gpu: 'none'
image: 'mlcaidev/package-cpu:16b1781'
- gpu: 'cuda-12.1'
image: 'mlcaidev/package-cu121:16b1781'
- gpu: 'cuda-12.2'
image: 'mlcaidev/package-cu122:16b1781'
exclude:
- pkg_kind: ${{ github.event_name == 'schedule' && 'stable' || '' }}
runs-on: ubuntu-latest
Build_ROCm:
uses: Build_template@main
strategy:
matrix:
pkg_kind: ['nightly']
# matrix of build configs
config:
- gpu: 'rocm-6.1'
image: 'mlcaidev/package-rocm61:16b1781'
- gpu: 'rocm-6.2'
image: 'mlcaidev/package-rocm62:16b1781'
exclude:
- pkg_kind: ${{ github.event_name == 'schedule' && 'stable' || '' }}
runs-on: [self-hosted, Linux, X64]