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
d6846203
"src/diffusers/schedulers/scheduling_ddim_parallel.py" did not exist on "c18941b01ad0ea6b07d020f353d81153c632a374"
Unverified
Commit
d6846203
authored
Feb 04, 2020
by
Jeff Rasley
Committed by
GitHub
Feb 04, 2020
Browse files
add version check test (#9)
parent
52c5a936
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
tests/unit/test_config.py
tests/unit/test_config.py
+6
-0
No files found.
tests/unit/test_config.py
View file @
d6846203
...
...
@@ -7,3 +7,9 @@ import deepspeed
def
test_cuda
():
assert
(
torch
.
cuda
.
is_available
())
def
test_check_version
():
assert
hasattr
(
deepspeed
,
"__git_hash__"
)
assert
hasattr
(
deepspeed
,
"__git_branch__"
)
assert
hasattr
(
deepspeed
,
"__version__"
)
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