-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
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
numpy
arrays cannot be serialized when used in pmap
context
#459
Comments
This is now fixed on main - the underlying issue being that |
Great, thanks! Just a quick question: Do you see #424 being worked on in the forseeable future? Thanks! |
I have no particular plans to do it - there are other more pressing issues for PythonCall. But would be quite simple if you want to give it a go. |
Sure, I'd be happy to take a crack at it. Any pointers where to look/start? |
Take a look at |
Affects: JuliaCall
Describe the bug
I'm trying to call a Julia function (from Python) that returns a vector of objects generated via
pmap
on multiple workers. (Not sure if thepmap
is even relevant, just in case)Reproduce the bug
More context
The issue is related to passing
numpy
arrays (no error when passing saya = 1
). If the input is explicitly converted toArray
, it runs fine (uncomment# a = Array
). See #454 for the original issue.Error message
Your system
Please provide detailed information about your system:
The text was updated successfully, but these errors were encountered: