Skip to content

problem for multi-process codes #3

Description

@chrisyxue

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions