Solving many problems in parallel with Dask #2384
rileyjmurray
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CVXPY is not thread-safe. However, our users (myself included) have had success using it with Dask. Here's a helper function that folks can try if they find themselves needing to solve independent problems in parallel.
Forewarning: I haven't tested this exact function! Please post here if you encounter problems using it.
The product num_workers * threads_per_worker should never exceed the number of physical cores on your machine.
Ping @SteveDiamond. Someone asked about this on Discord but I can't access Discord at the moment. Can you link to this Discussion post on that thread?
Separately, we should have our web documentation point here in some kind of FAQ.
Beta Was this translation helpful? Give feedback.
All reactions