dmlc / dmlc/dgl

ResourceWarning shows up when doing multigpu graphbolt example

Open
#7,777 4 comments 0 reactions 0 assignees View on GitHub
bug:unconfirmed stale-issue
Dominant language
Python
Stars
14.3k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

Runs the example under dgl/examples/multigpu/graphbolt, it shows a bit annoying ResourceWarning.
```bash
python node_classification.py --gpu 0,1,2,3,4,5,6,7
```
```bash
16it [00:01, 12.86it/s]
Epoch 00009 | Average Loss 1.1217 | Accuracy 0.6525 | Time 14.4035
Testing...
25it [00:02, 11.18it/s]/usr/lib/python3.10/tempfile.py:1008: ResourceWarning: Implicitly cleaning up
_warnings.warn(warn_message, ResourceWarning)
27it [00:02, 11.99it/s]
Test Accuracy 0.6272
/usr/lib/python3.10/tempfile.py:1008: ResourceWarning: Implicitly cleaning up
_warnings.warn(warn_message, ResourceWarning)
/usr/lib/python3.10/tempfile.py:1008: ResourceWarning: Implicitly cleaning up
_warnings.warn(warn_message, ResourceWarning)
/usr/lib/python3.10/tempfile.py:1008: ResourceWarning: Implicitly cleaning up
_warnings.warn(warn_message, ResourceWarning)
/usr/lib/python3.10/tempfile.py:1008: ResourceWarning: Implicitly cleaning up
_warnings.warn(warn_message, ResourceWarning)
/usr/lib/python3.10/tempfile.py:1008: ResourceWarning: Implicitly cleaning up
_warnings.warn(warn_message, ResourceWarning)
/usr/lib/python3.10/tempfile.py:1008: ResourceWarning: Implicitly cleaning up
_warnings.warn(warn_message, ResourceWarning)
/usr/lib/python3.10/tempfile.py:1008: ResourceWarning: Implicitly cleaning up
_warnings.warn(warn_message, ResourceWarning)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.