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

[ci] added wheel build scripts #910

Merged
merged 13 commits into from
May 5, 2022
Prev Previous commit
Next Next commit
polish code and workflow
  • Loading branch information
FrankLeeeee committed May 2, 2022
commit e31c2ddec18d802e278bb07cae191ec9308e3fe1
3 changes: 1 addition & 2 deletions .github/workflows/scripts/build_colossalai_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ def build_colossalai(wheel_info):
flags = wheel_info['flags']
filename = url.split('/')[-1].replace('%2B', '+')
cmd = f'bash ./build_colossalai_wheel.sh {method} {url} {filename} {cuda_version} {python_version} {torch_version} {flags}'
# os.system(cmd)
print(cmd)
os.system(cmd)

def main():
wheel_info = all_wheel_info()
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/scripts/build_colossalai_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ filename=${3}
cuda_version=${4}
python_version=${5}
torch_version=${6}
flags=${@:7}

echo $flags

exit

git reset --hard HEAD
mkdir -p ./all_dist
Expand Down