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
torch-scatter
Commits
c4e9034b
"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "0cfbb51b0c36f541697e5ef83296bda874ac0671"
Commit
c4e9034b
authored
Jul 18, 2019
by
rusty1s
Browse files
update to torch nightly
parent
cb6c8b71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/utils.py
test/utils.py
+1
-1
No files found.
test/utils.py
View file @
c4e9034b
...
@@ -6,7 +6,7 @@ dtypes = get_all_dtypes()
...
@@ -6,7 +6,7 @@ dtypes = get_all_dtypes()
dtypes
.
remove
(
torch
.
half
)
dtypes
.
remove
(
torch
.
half
)
dtypes
.
remove
(
torch
.
short
)
# PyTorch scatter does not work on short types.
dtypes
.
remove
(
torch
.
short
)
# PyTorch scatter does not work on short types.
dtypes
.
remove
(
torch
.
bool
)
dtypes
.
remove
(
torch
.
bool
)
if
torch
.
bfloat16
in
dtypes
:
if
hasattr
(
torch
,
'
bfloat16
'
)
:
dtypes
.
remove
(
torch
.
bfloat16
)
dtypes
.
remove
(
torch
.
bfloat16
)
grad_dtypes
=
[
torch
.
float
,
torch
.
double
]
grad_dtypes
=
[
torch
.
float
,
torch
.
double
]
...
...
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