Any plan for web support? :)
ExecuTorch: Run PyTorch programs on mobile and edge devices
21–27 of 27 posts
Re: ExecuTorch: Run PyTorch programs on mobile and edge devices
#22Earlier quoted context omitted.
It looks like executorch is for edge devices (phones / IoT / etc). I'm currently doing inference on GPUs with libtorch and have a few concerns: (1) It seems like libtorch/torchscript are on a path to getting deprecated and (2) libtorch/torchscript pull in enormously bloated libraries. Should I be looking at executorch? I currently don't see an nvidia backend / integration with tensor rt in https://github.com/pytorch/…
Yes ExecuTorch is currently targeted at Edge devices. The runtime is written in C++ with 50KB binary size (without kernels) and should run in most of platforms. You are right that we have not integrated to Nvidia backend yet. Have you tried torch.compile() in PyTorch 2.0? It would do the Nvidia optimization for you without Torchscript. If you have specific binary size or edge specific request, feel free to file issue…
Re: ExecuTorch: Run PyTorch programs on mobile and edge devices
#23Re: ExecuTorch: Run PyTorch programs on mobile and edge devices
#24Hey guys, we are ExecuTorch team, we're excited about launching this! Please ask us anything :)
Re: ExecuTorch: Run PyTorch programs on mobile and edge devices
#25Hey guys, we are ExecuTorch team, we're excited about launching this! Please ask us anything :)
OTOH, writing platform specific backends is a huge undertaking. Do you think backends such as MPS may become a shared effort?
[1] https://github.com/huggingface/candle [2] https://github.com/huggingface/candle/issues/313
Re: ExecuTorch: Run PyTorch programs on mobile and edge devices
#26Hey guys, we are ExecuTorch team, we're excited about launching this! Please ask us anything :)
Looks cool! Does the Vulkan backend work on PC? MLC-LLM proves it can work well and it would be cool to have a cross platform, minimal runtime, GPU-agnostic backend for PC too, not just mobile.
As an aside, the Vulkan backend is tied to TorchScript at the moment, so it is not yet compatible with ExecuTorch. However, we are also planning to introduce a Vulkan delegate for ExecuTorch which will enable GPU delegation through ExecuTorch.
Re: ExecuTorch: Run PyTorch programs on mobile and edge devices
#27Hey guys, we are ExecuTorch team, we're excited about launching this! Please ask us anything :)