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

problem for multi-process codes #3

Open
chrisyxue opened this issue Sep 12, 2022 · 2 comments
Open

problem for multi-process codes #3

chrisyxue opened this issue Sep 12, 2022 · 2 comments

Comments

@chrisyxue
Copy link

Hello, very impressive work!

Just have a problem about the multi-process codes, could you please tell me how to solve it?

Traceback (most recent call last):
File "main.py", line 224, in
pool = cm.MyPool(args.thread_number, init_process, (client_info, Client))
File "/localscratch/xuezhiyu/anaconda3/lib/python3.8/multiprocessing/pool.py", line 212, in init
self._repopulate_pool()
File "/localscratch/xuezhiyu/anaconda3/lib/python3.8/multiprocessing/pool.py", line 303, in _repopulate_pool
return self._repopulate_pool_static(self._ctx, self.Process,
File "/localscratch/xuezhiyu/anaconda3/lib/python3.8/multiprocessing/pool.py", line 319, in _repopulate_pool_static
w = Process(ctx, target=worker,
File "/localscratch/xuezhiyu/anaconda3/lib/python3.8/multiprocessing/process.py", line 82, in init
assert group is None, 'group argument must be None for now'
AssertionError: group argument must be None for now

@henry-tujia
Copy link

I'm afraid that this code is only fine for python<=3.7. But still want to see the problem to be sovled.

@henry-tujia
Copy link

I guess you can check this out Here

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

2 participants