-
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
updated dgl dependency #268
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,10 +34,10 @@ conda activate ${DGLBACKEND}-ci | |
# test | ||
if [ "$2" == "cpu" ]; then | ||
pip3 uninstall dgl | ||
pip3 install dgl==0.4.3post2 | ||
pip3 install dgl | ||
else | ||
pip3 uninstall dgl | ||
pip3 install dgl-cu102==0.4.3post2 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add a comment about what is the latest dgl version that works with this patch. As we are using dgl._deprecate.graph.DGLGraph, this interface may be deleted in some date. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you @classicsong , I have added a minimum and maximum dependency for the tests There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This breaks the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://github.com/dmlc/dgl/releases/tag/0.8.0 under There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm using version 0.9.1 of dgl and got this error. A reasonable work around for this would be to switch using the Version class in |
||
pip3 install dgl-cu102 | ||
fi | ||
|
||
pushd $KG_DIR> /dev/null | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why CPU version doesn't define the version number, but GPU version does?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for catching this @zheng-da . My mistake - I added the version requirements to the wrong line - it should be correct now