7 ms·
The "ray" library makes running python code on multi core and clusters very easy.
by pillusmany 3y ago
The "ray" library makes running python code on multi core and clusters very easy.
- smcl 3y agoInteresting - looking at their homepage they seem to lean heavily into the idea that it's for optimising AI/ML work, not multi-process generally.
- pillusmany 3y agoYou can use just ray.core to do multi process. You can do whatever you want in the workers, I parse JSONs and write to sqlite files.
- kroolik 3y agoAlthough its great the library helps with multicore Python, the existence of such package shouldnt be an excuse not to improve the state of things in std python