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.18k stars 2.99k forks source link

[UserWarning] Fixing the warnings appearing in `test_nn.py::test_group_rev_res`. #7486

Closed drivanov closed 4 days ago

drivanov commented 1 week ago

Description

The following warnings that appear in test_nn.py::test_group_rev_res have been fixed:

tests/python/pytorch/nn/test_nn.py::test_group_rev_res[idtype0]
/usr/local/lib/python3.10/dist-packages/dgl/nn/pytorch/conv/grouprevres.py:35: UserWarning: TypedStorage is deprecated. 
It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you 
if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead 
of tensor.storage()

Checklist

Please feel free to remove inapplicable items for your PR.

Changes

dgl-bot commented 1 week ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 week ago

Commit ID: 8cc5c90e6322e044fcd69c2a4fa14fd770b889b4

Build ID: 1

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

mfbalin commented 1 week ago

@dgl-bot

dgl-bot commented 1 week ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 week ago

Commit ID: 6754787b284fb82337399c6a0359a82eb3b72ac6

Build ID: 3

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

dgl-bot commented 1 week ago

Commit ID: 62bc5a042aab077342e73a7118dcf78f78cb5bed

Build ID: 2

Status: ✅ CI test succeeded.

Report path: link

Full logs path: link

mfbalin commented 1 week ago

@dgl-bot

dgl-bot commented 1 week ago

Commit ID: 6754787b284fb82337399c6a0359a82eb3b72ac6

Build ID: 4

Status: ✅ CI test succeeded.

Report path: link

Full logs path: link