Core Multiprocessing - crashes cloudpicklinglru_cache
#31099
Labels
bug
Something that is supposed to be working; but isn't
core
Issues that should be addressed in Ray Core
core-correctness
Leak, crash, hang
dependencies
Pull requests that update a dependency file
P3
Issue moderate in impact or severity
What happened + What you expected to happen
I recently added
lru_cache
to some simple grid generating methods in a Python class. This class is later used inside a ray multiprocessing Pool.Expected behavior: Not crash. Ideally we could ship the
lru_cache
. I would also be fine with clearing it and losing any optimization when distributed, but it can't crash. This will block us from doing some pretty common optimizations without reimplementing standard library tools.I believe this is cloudpipe/cloudpickle#178
Thanks
Versions / Dependencies
ray==2.2.0
Python 3.10.6
Linux
But I this is not version dependent...
Reproduction script
performed on osx. 11.6.2
conda create -n rpb python=3.8
pip install ray
Issue Severity
Medium: It is a significant difficulty but I can work around it.
The text was updated successfully, but these errors were encountered: