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] Per-thread `RandomEngine` initialization fix. #7557

Closed mfbalin closed 1 month ago

mfbalin commented 1 month ago

Description

Also remove unnecessary dependency on dmlc just for thread local. I have tested and each threads gets their own engines. Each run results in different random numbers for each thread because manual_seed gets initialized randomly.

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: 25d444e0518b3316475a509b93466fea83344b64

Build ID: 1

Status: ✅ CI test succeeded.

Report path: link

Full logs path: link