Skip to content

ValueError: assignment destination is read-only #48

@mlittmanabbvie

Description

@mlittmanabbvie

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
(image)

This issue is described here

Code to reproduce the behavior
scikit-learn/scikit-learn#5956

Error message from command line
ValueError: assignment destination is read-only

System information:

  • OS Platform and Distribution: Windows 10
  • Python version: 3.8
  • Hyperactive version 3.3.3

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions