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][io_uring] Make `OnDiskNpyArray` threadsafe. #7562

Closed mfbalin closed 1 month ago

mfbalin commented 1 month ago

Description

During our pipelined read_async feature fetch pipeline, it is possible that multiple async workers try to fetch at the same time. It is crucial to make it threadsafe to avoid catastrophic crashes and data races. Needed by #7559.

Checklist

Please feel free to remove inapplicable items for your PR.

Changes

dgl-bot commented 1 month ago

To trigger regression tests:

dgl-bot commented 1 month ago

Commit ID: 9de663a877e8e0740c86fe2f739be45a3babb996

Build ID: 1

Status: ✅ CI test succeeded.

Report path: link

Full logs path: link