Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows doesn't support NDArray with shared memory #21

Open
xuxian1 opened this issue Feb 21, 2023 · 0 comments
Open

Windows doesn't support NDArray with shared memory #21

xuxian1 opened this issue Feb 21, 2023 · 0 comments

Comments

@xuxian1
Copy link

xuxian1 commented Feb 21, 2023

你好,关于run_pretrain.sh的问题
H:\xuxiantao\Anaconda\envs\colake\python.exe H:/xuxiantao/Models/CoLAKE/pretrain/large_emb.py --lr 1e-4 --total_client 1 --emb_name entity_emb --ent_emb ../wikidata5m_alias_emb/entities.npy Traceback (most recent call last): File "H:/xuxiantao/Models/CoLAKE/pretrain/large_emb.py", line 265, in <module> start_server(args) File "H:/xuxiantao/Models/CoLAKE/pretrain/large_emb.py", line 157, in start_server my_server.init_data(name=name, data_tensor=entity_emb) File "H:\xuxiantao\Anaconda\envs\colake\lib\site-packages\dgl\contrib\dis_kvstore.py", line 218, in init_data shared_data = empty_shared_mem(name+'-data-', True, data_tensor.shape, 'float32') File "H:\xuxiantao\Anaconda\envs\colake\lib\site-packages\dgl\_ffi\ndarray.py", line 149, in empty_shared_mem ctypes.byref(handle))) File "H:\xuxiantao\Anaconda\envs\colake\lib\site-packages\dgl\_ffi\base.py", line 62, in check_call raise DGLError(py_str(_LIB.DGLGetLastError())) dgl._ffi.base.DGLError: [12:47:01] C:\Users\Administrator\dgl\src\runtime\ndarray.cc:177: Windows doesn't support NDArray with shared memory
我在windows的环境下进行的实验,该实验是否只能在Linux系统中运行?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant