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
19fa0e57
Unverified
Commit
19fa0e57
authored
Mar 03, 2023
by
Yasyf Mohamedali
Committed by
GitHub
Mar 04, 2023
Browse files
Remove extraneous comma (#2993)
Prevents `TypeError: category must be a Warning subclass, not 'str'`.
parent
3a5d93bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
op_builder/utils.py
op_builder/utils.py
+1
-1
No files found.
op_builder/utils.py
View file @
19fa0e57
...
@@ -157,7 +157,7 @@ def set_cuda_arch_list(cuda_dir):
...
@@ -157,7 +157,7 @@ def set_cuda_arch_list(cuda_dir):
# we only need to set this when CUDA is not available for cross-compilation
# we only need to set this when CUDA is not available for cross-compilation
if
not
cuda_available
:
if
not
cuda_available
:
warnings
.
warn
(
warnings
.
warn
(
'
\n
[extension] PyTorch did not find available GPUs on this system.
\n
'
,
'
\n
[extension] PyTorch did not find available GPUs on this system.
\n
'
'If your intention is to cross-compile, this is not an error.
\n
'
'If your intention is to cross-compile, this is not an error.
\n
'
'By default, Colossal-AI will cross-compile for
\n
'
'By default, Colossal-AI will cross-compile for
\n
'
'1. Pascal (compute capabilities 6.0, 6.1, 6.2),
\n
'
'1. Pascal (compute capabilities 6.0, 6.1, 6.2),
\n
'
...
...
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