How severe does this issue affect your experience of using Ray?
- Medium: It contributes to significant difficulty to complete my task, but I can work around it.
I’m creating an app to process images through various models and trying to find the best approach to handle this using Ray. I’m looking for something with the best performance. The basic pipeline looks like:
- Read in image
- Preprocessing step (cpu)
- Run Model (gpu)
- Post Processing step (cpu)
- Write result
The options I see are:
- Use a Dataset to read the images in and then map each subsequent step to the dataset. This is what I am currently doing. It works nicely but there seems to be a delay in startup time for the Dataset which isn’t ideal. Also, maybe not the most efficient for just 1-off images?
- Composition, as described here: Deploy Compositions of Models — Ray 2.38.0
- Ray workflows. These may be too new for now. Ray Workflows: Durable Ray Task Graphs — Ray 2.38.0