Closed mlittmanabbvie closed 2 years ago
Hello @mlittmanabbvie,
thank you for opening this issue and providing detailed information about the problem! :-)
Could you additionally show the code that generated the error with Hyperactive? Hyperactive might already be equipped to solve this problem, but I would like to try it out beforehand.
Hey Simon,
I tried to come up with code that could replicate the issue (that isnt my code) and I am struggling for some reason. Perhaps the reason for the issue is not what I think it is? Here is the stack trace, maybe you might be able to figure out why?
_RemoteTraceback Traceback (most recent call last)
_RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/cdsw/.local/lib/python3.8/site-packages/joblib/externals/loky/process_executor.py", line 436, in _process_worker
r = call_item()
File "/home/cdsw/.local/lib/python3.8/site-packages/joblib/externals/loky/process_executor.py", line 288, in call
return self.fn(*self.args, self.kwargs)
File "/home/cdsw/.local/lib/python3.8/site-packages/joblib/_parallel_backends.py", line 595, in call
return self.func(*args, *kwargs)
File "/home/cdsw/.local/lib/python3.8/site-packages/joblib/parallel.py", line 262, in call
return [func(args, kwargs)
File "/home/cdsw/.local/lib/python3.8/site-packages/joblib/parallel.py", line 262, in
The above exception was the direct cause of the following exception:
ValueError Traceback (most recent call last)
Doesn't seem to be an issue with Hyperactive. Apologies!
Look into the FAQ of the readme. Can the bug be resolved by one of those solutions? No Describe the bug
When using the joblib as the parallel distributor, if the number of processes / size of them gets too big then an error will be thrown ValueError: assignment destination is read-only ()
This issue is described here
Code to reproduce the behavior https://github.com/scikit-learn/scikit-learn/issues/5956
Error message from command line ValueError: assignment destination is read-only
System information:
Additional context The issue is not actually with Hyperactive however, the fix for the ValueError issue is to add max_nbytes='50M' to the Parallel instantiation. The issue is that when instantiating Hyperactive, there is no way to pass this argument through to joblib without changing the underlying Hyperactive package.