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-spline-conv
Commits
eff3bd52
Commit
eff3bd52
authored
Feb 15, 2021
by
rusty1s
Browse files
update2
parent
31a4031d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torch_spline_conv/__init__.py
torch_spline_conv/__init__.py
+1
-1
No files found.
torch_spline_conv/__init__.py
View file @
eff3bd52
...
...
@@ -11,7 +11,7 @@ for library in ['_version', '_basis', '_weighting']:
torch
.
ops
.
load_library
(
importlib
.
machinery
.
PathFinder
().
find_spec
(
f
'
{
library
}
_
{
suffix
}
'
,
[
osp
.
dirname
(
__file__
)]).
origin
)
if
torch
.
version
.
cuda
is
not
None
:
# pragma: no cover
if
torch
.
cuda
.
is_available
()
and
torch
.
version
.
cuda
is
not
None
:
cuda_version
=
torch
.
ops
.
torch_spline_conv
.
cuda_version
()
if
cuda_version
==
-
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