Using Hera for inference workloads #1554
-
|
Hi! I'm trying to use Hera to set up a workflow where binary (audio) data is fed in from an HTTP API (via FastAPI), and then a series of postprocessing/inference steps are applied to it, ultimately returning the results to the client via another FastAPI call. In each of these steps I'm trying to use a different base image, as each of the steps requires a different piece of (rather complex) software (torch/Kaldi), that is best managed if left "alone" and isolated in separate container images. I don't have experience with neither Argo Workflows, nor Hera yet, but it seems like those would be a good fit for this use case, as each processing step will take a couple of minutes to finish. Having experimented with Hera now for a couple of hours, it seems like I'm hitting a couple of road blocks. Bear with me, these are just my current findings and beliefs about how I understand Hera works, and I hope to be proven wrong here:
Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hey @NeoLegends, thanks for trying out Hera! I'll do my best to answer:
Hope that helps! |
Beta Was this translation helpful? Give feedback.
Hey @NeoLegends, thanks for trying out Hera! I'll do my best to answer:
"Hera seems to kind of bleed into these containers, otherwise it can't run unless I go back to raw script execution. Is that correct? " - yes, and assuming you've already read the Runner Script Const…