Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
339520c6
Unverified
Commit
339520c6
authored
Jul 14, 2022
by
lucasliunju
Committed by
GitHub
Jul 14, 2022
Browse files
[NFC] polish build_colossalai_wheel.py code style (#1306)
parent
260a5580
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
.github/workflows/scripts/build_colossalai_wheel.py
.github/workflows/scripts/build_colossalai_wheel.py
+1
-2
No files found.
.github/workflows/scripts/build_colossalai_wheel.py
View file @
339520c6
...
@@ -62,7 +62,6 @@ def all_wheel_info():
...
@@ -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__':
...
@@ -114,4 +113,4 @@ if __name__ == '__main__':
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment