You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 the pmap is even relevant, just in case)
More context
The issue is related to passing numpy arrays (no error when passing say a = 1). If the input is explicitly converted to Array, it runs fine (uncomment # a = Array). See #454 for the original issue.
This is now fixed on main - the underlying issue being that PyArray was not serializable. Though unless you really do need it to be a PyArray I'd recommend just converting it to Array as you had done.
Take a look at serialization.jl. Pretty much you'd need to add a setting to PythonCall, and if that setting is set you'd import dill instead of pickle.
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: