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
bitsandbytes
Commits
a4714569
"vscode:/vscode.git/clone" did not exist on "fa58402636abb808ed9358d33f4b589fbfa8ebca"
Commit
a4714569
authored
Mar 29, 2024
by
Matthew Douglas
Browse files
fix formatting for install_cuda.py
parent
c17fb8eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
install_cuda.py
install_cuda.py
+2
-6
No files found.
install_cuda.py
View file @
a4714569
...
...
@@ -77,9 +77,7 @@ def main():
download_path
=
"/tmp"
# default download path
if
len
(
sys
.
argv
)
<
2
:
print
(
"Usage: python install_cuda.py <version/all> [user/system] [download_path]"
)
print
(
"Usage: python install_cuda.py <version/all> [user/system] [download_path]"
)
sys
.
exit
(
1
)
version
=
sys
.
argv
[
1
]
...
...
@@ -100,9 +98,7 @@ def main():
elif
version
in
cuda_versions
:
install_cuda
(
version
,
base_path
,
download_path
)
else
:
print
(
f
"Invalid CUDA version:
{
version
}
. Available versions are:
{
', '
.
join
(
cuda_versions
.
keys
())
}
"
)
print
(
f
"Invalid CUDA version:
{
version
}
. Available versions are:
{
', '
.
join
(
cuda_versions
.
keys
())
}
"
)
sys
.
exit
(
1
)
...
...
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