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
deepspeed
Commits
9b6449e6
Commit
9b6449e6
authored
Jun 11, 2022
by
aiss
Browse files
add dtk version
parent
d8669b08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
setup.py
setup.py
+3
-0
No files found.
setup.py
View file @
9b6449e6
...
...
@@ -219,7 +219,10 @@ elif os.path.isfile('build.txt'):
version_str
+=
fd
.
read
().
strip
()
else
:
# None of the above, probably installing from source
#aiss add
version_str
+=
f
'+dtk22.04'
version_str
+=
f
'+
{
git_hash
}
'
print
(
"version_str: "
,
version_str
)
torch_version
=
"."
.
join
([
TORCH_MAJOR
,
TORCH_MINOR
])
# Set cuda_version to 0.0 if cpu-only
...
...
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