Dgl.seed() error

dgl1.0.1+cu116 torch1.13.1 python3.9
when I use dgl.seed(), the error is below:

dgl.seed(1)
Traceback (most recent call last):
File “”, line 1, in
File “/home/sigma@ouc/anaconda3/envs/env_xh_HGNN/lib/python3.9/site-packages/dgl/random.py”, line 19, in seed
_CAPI_SetSeed(val)
File “dgl/_ffi/_cython/./function.pxi”, line 295, in dgl._ffi._cy3.core.FunctionBase.call
File “dgl/_ffi/_cython/./function.pxi”, line 227, in dgl._ffi._cy3.core.FuncCall
File “dgl/_ffi/_cython/./function.pxi”, line 217, in dgl._ffi._cy3.core.FuncCall3
dgl._ffi.base.DGLError: [15:11:01] /opt/dgl/src/random/random.cc:36: Check failed: e == CURAND_STATUS_SUCCESS: CURAND Error: CURAND_STATUS_INITIALIZATION_FAILED at /opt/dgl/src/random/random.cc:36
Stack trace:
[bt] (0) /home/anaconda3/envs/env_xh_HGNN/lib/python3.9/site-packages/dgl/libdgl.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x4f) [0x7fa0e102a30f]
[bt] (1) /home/anaconda3/envs/env_xh_HGNN/lib/python3.9/site-packages/dgl/libdgl.so(+0x6ad786) [0x7fa0e1330786]
[bt] (2) /home/anaconda3/envs/env_xh_HGNN/lib/python3.9/site-packages/dgl/libdgl.so(DGLFuncCall+0x48) [0x7fa0e133de58]
[bt] (3) /home/anaconda3/envs/env_xh_HGNN/lib/python3.9/site-packages/dgl/_ffi/_cy3/core.cpython-39-x86_64-linux-gnu.so(+0x1701b) [0x7fa0e0a2c01b]
[bt] (4) /home/anaconda3/envs/env_xh_HGNN/lib/python3.9/site-packages/dgl/_ffi/_cy3/core.cpython-39-x86_64-linux-gnu.so(+0x174fb) [0x7fa0e0a2c4fb]
[bt] (5) python(_PyObject_MakeTpCall+0x2ec) [0x4f049c]
[bt] (6) python(_PyEval_EvalFrameDefault+0x4cb4) [0x4ec3a4]
[bt] (7) python() [0x4f7ec3]
[bt] (8) python(_PyEval_EvalFrameDefault+0x4d74) [0x4ec464]

I want to know how to solve

Duplicate of dgl.seed() error · Issue #5501 · dmlc/dgl · GitHub . As this is a bug report, let’s move the topic to Github issues. The team is investigating the issue.