dmlc / dgl

Python package built to ease deep learning on graph, on top of existing DL frameworks.
http://dgl.ai
Apache License 2.0
13.36k stars 3k forks source link

[GraphBolt] Fix issue on torch 2.3.1 #7521

Closed mfbalin closed 2 months ago

mfbalin commented 2 months ago

Description

Looks like register_fake is not available in 2.3.1, I mistakenly assumed in #7493 that it is. This should fix one issue our user was having in https://discuss.dgl.ai/t/distdgl-v2-4-built-from-source-training-error/4474/3.

PyTorch documentation on deprecation: https://pytorch.org/docs/2.4/library.html#torch.library.impl_abstract

Checklist

Please feel free to remove inapplicable items for your PR.

Changes

dgl-bot commented 2 months ago

To trigger regression tests:

dgl-bot commented 2 months ago

Commit ID: 786c54375b3753994f1155abc02a351c9eb80d63

Build ID: 1

Status: ✅ CI test succeeded.

Report path: link

Full logs path: link