[NFC] polish build_colossalai_wheel.py code style (#1306)

pull/1308/head
lucasliunju 2 years ago committed by GitHub
parent 260a55804a
commit 339520c6e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,7 +62,6 @@ def all_wheel_info():
wheel_info[torch_version][cuda_version][python_version] = dict(method=method, url=url, flags=flags) wheel_info[torch_version][cuda_version][python_version] = dict(method=method, url=url, flags=flags)
return wheel_info return wheel_info
def build_colossalai(wheel_info): def build_colossalai(wheel_info):
cuda_version_major, cuda_version_minor = get_cuda_bare_metal_version() cuda_version_major, cuda_version_minor = get_cuda_bare_metal_version()
cuda_version_on_host = f'{cuda_version_major}.{cuda_version_minor}' cuda_version_on_host = f'{cuda_version_major}.{cuda_version_minor}'
@ -114,4 +113,4 @@ if __name__ == '__main__':

Loading…
Cancel
Save