Hello,
I am triggering typic Ray Batch inference flow as a flyte task. In the flyte task I mention a container image that has pytorch version 2.6 lib dependency.
Ray job invokes a Ray Actor on each node in Ray Cluster that does the pytorch inference. Code for PyTorch Ray Actor can directly do “import torch” because torch is in the container image.
What I want to do is, I receive dynamic input before this flyte task that tell me Torch version,lets say 2.5. I want my PyTorch Ray Actor to do the inference on version 2.5 and not the 2.6 baked in the container image of flyte task.
How do I do that?