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
f2790b22
Commit
f2790b22
authored
Feb 12, 2021
by
rusty1s
Browse files
Merge branch 'master' of github.com:rusty1s/pytorch_spline_conv
parents
f90817ed
5375826e
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 @
f2790b22
...
...
@@ -20,7 +20,7 @@ if torch.version.cuda is not None: # pragma: no cover
major
,
minor
=
int
(
str
(
cuda_version
)[
0
:
2
]),
int
(
str
(
cuda_version
)[
3
])
t_major
,
t_minor
=
[
int
(
x
)
for
x
in
torch
.
version
.
cuda
.
split
(
'.'
)]
if
t_major
!=
major
or
t_minor
!=
minor
:
if
t_major
!=
major
:
raise
RuntimeError
(
f
'Detected that PyTorch and torch_spline_conv were compiled with '
f
'different CUDA versions. PyTorch has CUDA 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