Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix workflow #251

Merged
merged 4 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build wheel for Release
name: Build wheel
on:
workflow_dispatch:
inputs:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/package_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ScaleLLM package test
name: Package test

on:
workflow_dispatch:
Expand Down Expand Up @@ -50,8 +50,7 @@ jobs:
steps:
- name: Install toolkits
run: |
sudo apt-get install -y build-essential ninja-build bison gcc-12 g++-12 libunwind-dev python3-dev libboost-all-dev ccache
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 10 --slave /usr/bin/g++ g++ /usr/bin/g++-12
sudo apt-get install -y build-essential ninja-build bison python3-dev ccache

- name: Show gcc version
run: gcc --version
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: ScaleLLM Release
name: Release
on:
# Release scalellm on creation of tags to https://hub.docker.com/r/vectorchai/scalellm
# Push events to matching v*, i.e. v1.0.0, v1.0.0-rc1, v20.15.10-rc5, etc.
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+*
branches:
- main

jobs:
# extract version from tag
Expand All @@ -17,7 +15,7 @@ jobs:
steps:
- name: Extract version from tag
id: version
run: echo "::set-output name=tag::$(echo ${{ github.ref }} | sed -n 's/refs\/tags\/v//p')"
run: echo "tag=$(echo ${{ github.ref }} | sed -n 's/refs\/tags\/v//p')" >> $GITHUB_OUTPUT

# Run tests on release
release-test:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
steps:
- name: Install toolkits
run: |
sudo apt-get install -y build-essential ninja-build bison gcc-12 g++-12 libunwind-dev python3-dev libboost-all-dev ccache
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 10 --slave /usr/bin/g++ g++ /usr/bin/g++-12
sudo apt-get install -y build-essential ninja-build bison ccache

- name: Show gcc version
run: gcc --version
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export PATH="/opt/python/cp${PYVER}-cp${PYVER}/bin:$PATH"
pip install torch==$TORCH_VERSION -i "https://download.pytorch.org/whl/cu${CUDA_VERSION//./}"

# install other dependencies
pip install numpy, jinja2
pip install numpy jinja2
pip install --upgrade setuptools wheel

# zero out ccache if ccache is installed
Expand Down
Loading