From cc27adceb027d31161c3db815e6c10bae8e6bb14 Mon Sep 17 00:00:00 2001 From: yuxuan-lou <83441848+yuxuan-lou@users.noreply.github.com> Date: Wed, 9 Nov 2022 16:54:09 +0800 Subject: [PATCH] [NFC] polish .github/workflows/scripts/build_colossalai_wheel.py code style (#1856) --- .github/workflows/scripts/build_colossalai_wheel.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/scripts/build_colossalai_wheel.py b/.github/workflows/scripts/build_colossalai_wheel.py index 5a2db0c87..a9ac16fbc 100644 --- a/.github/workflows/scripts/build_colossalai_wheel.py +++ b/.github/workflows/scripts/build_colossalai_wheel.py @@ -1,12 +1,13 @@ -from filecmp import cmp -import requests -from bs4 import BeautifulSoup import argparse import os import subprocess -from packaging import version +from filecmp import cmp from functools import cmp_to_key +import requests +from bs4 import BeautifulSoup +from packaging import version + WHEEL_TEXT_ROOT_URL = 'https://github.com/hpcaitech/public_assets/tree/main/colossalai/torch_build/torch_wheels' RAW_TEXT_FILE_PREFIX = 'https://raw.githubusercontent.com/hpcaitech/public_assets/main/colossalai/torch_build/torch_wheels' CUDA_HOME = os.environ['CUDA_HOME']