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
c8fef629
Unverified
Commit
c8fef629
authored
Jan 26, 2022
by
Jinjing Zhou
Committed by
GitHub
Jan 26, 2022
Browse files
Fix wrong logging level (#3689)
parent
069dc45d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/dgl/_ffi/base.py
python/dgl/_ffi/base.py
+1
-1
No files found.
python/dgl/_ffi/base.py
View file @
c8fef629
...
@@ -139,4 +139,4 @@ def load_tensor_adapter(backend, version):
...
@@ -139,4 +139,4 @@ def load_tensor_adapter(backend, version):
tensor_adapter_loaded
=
(
_LIB
.
DGLLoadTensorAdapter
(
path
.
encode
(
'utf-8'
))
==
0
)
tensor_adapter_loaded
=
(
_LIB
.
DGLLoadTensorAdapter
(
path
.
encode
(
'utf-8'
))
==
0
)
if
not
tensor_adapter_loaded
:
if
not
tensor_adapter_loaded
:
logger
=
logging
.
getLogger
(
"dgl-core"
)
logger
=
logging
.
getLogger
(
"dgl-core"
)
logger
.
warnin
g
(
"Memory optimization with PyTorch is not enabled."
)
logger
.
debu
g
(
"Memory optimization with PyTorch is not enabled."
)
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