Pytroch on iOS in run time

I need to run the custom Python script locally on iOS and get the retune values. I am unable to find the right steps to integrate PyTorch into my iOS application.

You could check the legacy workflow or the new ExecuTorch workflow (which is still in development if Iā€™m not mistaken).

1 Like

Thanks for your response. I am looking for .Framework which can be directly integrated into existing iOS application @ptrblck

Anthony, can you respond to this?

@Lokesh1, as @ptrblck mentioned above, for the legacy workflow, you can use Cocoapods or download a .zip archive with prebuilt libs and headers (and make a framework with them if you wish), and for ExecuTorch you can build a .xcframework locally using build_apple_frameworks script as described here