Skip to content

Instantly share code, notes, and snippets.

@willwhitney
Created July 3, 2017 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willwhitney/87f5a6c05b8c0aafb4e82f80afa1a73f to your computer and use it in GitHub Desktop.
Save willwhitney/87f5a6c05b8c0aafb4e82f80afa1a73f to your computer and use it in GitHub Desktop.
File "parallel_main.py", line 56, in <module>
parents = random.choices(population, scores + 1e-10, k=pop_size)
File "/home/wwhitney/anaconda3/lib/python3.6/multiprocessing/pool.py", line 260, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/wwhitney/anaconda3/lib/python3.6/multiprocessing/pool.py", line 608, in get
raise self._value
multiprocessing.pool.MaybeEncodingError: Error sending result:
<my object>
Reason: 'RuntimeError('unable to open shared memory object </torch_29253_1584213566> in read-write mode at /py/conda-bld/pytorch_1493680494901/work/torch/lib/TH/THAllocator.c:226',)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment