-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dgl.__version__ >= 0.8 breaks on partition.py #269
Comments
Note there aren't any unit tests on this as it's a simple call out to dgl but if there are suggestions around adding a unit test please let me know. Also here is a stacktrace of the issue:
$ python3
|
closed via -> #270 |
I noted this in a comment:
https://github.com/awslabs/dgl-ke/pull/268/files#diff-6fa7773ef2017429e0385fdbff10e2c9b5021e282a503eb7e47eeb93f651eb18
The version upgrade in
dgl
#268
caused the
dgl.transform
method in partition.py to raise an error here:dgl-ke/python/dglke/partition.py
Line 119 in 276c2e4
if the environment has a morerecent version of dgl.
Dgl version 0.8 changed the name to
transforms
(added ans
) -> https://github.com/dmlc/dgl/releases/tag/0.8.0A fix would be to add an if/else block based on the dgl version and call either attribute. I used the search box in github to search this repository and this appears to be the only use of the
dgl.transform
The text was updated successfully, but these errors were encountered: