Applying a row-wise UDF operation to cuDF #17756
Labels
cudf.pandas
Issues specific to cudf.pandas
feature request
New feature or request
Needs Triage
Need team to review and classify
Missing Pandas Feature Request
A clear and concise summary of the pandas function(s) you'd like to be able run with cuDF.
I have an UDF function which takes pandas row as an argument and makes an network API call and writes the result back to the dataframe. As per the documentation, cuDF requires the function to be numba compatible, so I tried adding
@cuda.jit
decorator, however, I didn't get the expected results.Example code below -
It appears there are GPU Execution Constraints when it comes to UDFs and making network API calls as the performance relies on API latency as well. Can API calls be run directly from the GPU? or do they need to offloaded to the CPU? Please share suggestions on how I can make the operation work on a GPU.
The text was updated successfully, but these errors were encountered: