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
I am having trouble working with vaex inside python's mulitprocessing's pool. The expected behavior for pool.map() is to iterate through out the list supplied to it but that does not seem to be the case when working with vaex's dataFrame type objects. Here the code works but only for the first 16 items, 16 being the number of cores I have on my machine.
So, for code setup as follows:
defexport_task(item): # item is a tuplesubject, outputPathChunk=item# subject is the vaex dataframe and outputPathChunk is the the pathsubject.export_hdf5(outputPathChunk)
Where subs is a 600 items list of tuples and each tuple has two items, the first item as is a vaex table and the second is a path.
There is a vaex related warning for the first 16 executions for export_task and I am wondering if that is choking pool.map. That would be a simple issue to work around but doing a simple sample_table.export_hdf5(sample_path) sanity check does not produce the same warning.
The error from vaex is vaex/dataframe.py:2756: UserWarning: The state wants to rename newMass to __newMass, but __newMass was not found, ignoring the rename
I am having trouble working with
vaex
inside python'smulitprocessing
'spool
. The expected behavior forpool.map()
is to iterate through out the list supplied to it but that does not seem to be the case when working withvaex
's dataFrame type objects. Here the code works but only for the first 16 items, 16 being the number of cores I have on my machine.So, for code setup as follows:
And then
Where
subs
is a 600 items list of tuples and each tuple has two items, the first item as is avaex
table and the second is a path.There is a
vaex
related warning for the first 16 executions forexport_task
and I am wondering if that is chokingpool.map
. That would be a simple issue to work around but doing a simplesample_table.export_hdf5(sample_path)
sanity check does not produce the same warning.The error from
vaex
isvaex/dataframe.py:2756: UserWarning: The state wants to rename newMass to __newMass, but __newMass was not found, ignoring the rename
Vaex was installed via: pip / conda-forge / from source
mamba-forge
OS: Amazon Linux
The text was updated successfully, but these errors were encountered: