Closed Rhett-Ying closed 1 week ago
This PR is replacing https://github.com/dmlc/dgl/pull/7478
To trigger regression tests:
@dgl-bot run [instance-type] [which tests] [compare-with-branch]
;
For example: @dgl-bot run g4dn.4xlarge all dmlc/master
or @dgl-bot run c5.9xlarge kernel,api dmlc/master
related to https://github.com/dmlc/dgl/issues/7468
@dgl-bot
Thanks Rhett! 🙏
It's good to be safe 🙂
Though am wondering if this is actually needed ( https://github.com/dmlc/dgl/issues/7468#issuecomment-2196270492 )?
Thanks Rhett! 🙏
It's good to be safe 🙂
Though am wondering if this is actually needed ( #7468 (comment) )?
Thank you @jakirkham . To support numpy>=2.0.0 we need to set the minimum supported torch version to 2.3.0. Our team will discuss this issue at the Monday meeting.
Thanks for following up! 🙏
That's certainly one approach
Am wondering if another might simply be to inform users they need to update PyTorch if they want to use NumPy 2
Thinking this as in many ways this is a problem with old PyTorch packages' metadata in that they don't explicitly disallow being installed with NumPy 2. If they did, then users would not be able to install older PyTorch packages with NumPy 2. It doesn't sound like this is an issue with DGL itself
As this issue is not directly caused by DGL, we'd like to revert this PR. And if anyone hit this issue while using torch < 2.3, it's user's responsibility to either downgrade numpy or upgrade torch.
Thanks Rhett! 🙏 It's good to be safe 🙂 Though am wondering if this is actually needed ( #7468 (comment) )?
Thank you @jakirkham . To support numpy>=2.0.0 we need to set the minimum supported torch version to 2.3.0. Our team will discuss this issue at the Monday meeting.
No. DGL will not set the minimum of torch to 2.3.0.
Thank you both! 🙏
Description
let's limit the numpy < 2.0.0 for now. we need to support 2.0.0 in near future.
Checklist
Please feel free to remove inapplicable items for your PR.
Changes