We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
msgpack
Describe the problem Running ParallelMap with a function accepting NumPy 2d-arrays as input fails.
ParallelMap
Steps To Reproduce
Running
def f(x): return x+x x = np.full([4, 2],1) n_workers = 3 xinput = [x for _ in range(n_workers) ] client = acme.esi_cluster_setup(partition="8GBXS", n_workers=n_workers) with ParallelMap(f, xinput, n_inputs=n_workers) as pmap: results = pmap.compute()
reproducibly results in the error
msgpack.exceptions.ExtraData: unpack(b) received extra data.
Turns out this is a bug in msgpack that only affects Python 3.11+
Additional Information Solution:
conda install -c conda-forge msgpack-python=1.0.5
The text was updated successfully, but these errors were encountered:
CHG: Updated dependencies
8a499b4
- updated dask and msgpack version requirements (closes #59) - dropped Python 3.7 support On branch dev Changes to be committed: modified: setup.cfg
pantaray
No branches or pull requests
Describe the problem
Running
ParallelMap
with a function accepting NumPy 2d-arrays as input fails.Steps To Reproduce
Running
reproducibly results in the error
Turns out this is a bug in
msgpack
that only affects Python 3.11+Additional Information
Solution:
The text was updated successfully, but these errors were encountered: