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
dgl
Commits
821c1e42
Unverified
Commit
821c1e42
authored
Oct 09, 2023
by
Rhett Ying
Committed by
GitHub
Oct 09, 2023
Browse files
[dev] update minimum pytorch version to 1.13.0 (#6412)
parent
4a861775
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/dgl/backend/pytorch/tensor.py
python/dgl/backend/pytorch/tensor.py
+2
-2
No files found.
python/dgl/backend/pytorch/tensor.py
View file @
821c1e42
...
...
@@ -12,8 +12,8 @@ from ... import ndarray as nd
from
...function.base
import
TargetCode
from
...utils
import
version
if
version
.
parse
(
th
.
__version__
)
<
version
.
parse
(
"1.1
2
.0"
):
raise
RuntimeError
(
"DGL requires PyTorch >= 1.1
2
.0"
)
if
version
.
parse
(
th
.
__version__
)
<
version
.
parse
(
"1.1
3
.0"
):
raise
RuntimeError
(
"DGL requires PyTorch >= 1.1
3
.0"
)
def
data_type_dict
():
...
...
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