Does Executorch support on-device training/learning #8221
-
Does Executorch support on-device training (online learning/model update on edge devices)? If yes, how to enable this? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
This is one area the team is exploring. @JacobSzwejbka could comment more |
Beta Was this translation helpful? Give feedback.
-
It would be greatly appreciated if this feature could be supported. I have attempted numerous times to transition from using TensorFlow Lite to PyTorch for edge device deployment, but the absence of features like this has hindered my efforts. Thank you. |
Beta Was this translation helpful? Give feedback.
-
I'm quite curious, usually training unlike inferencing expect much more computing, why does on-device training helpful? Is it because of that reduces the develop iteration cycle for training smaller model? |
Beta Was this translation helpful? Give feedback.
-
Its under active development, and we should have something to share soon. From your side @knn1989 can you tell me a little bit about what your use case looks like? |
Beta Was this translation helpful? Give feedback.
-
@JacobSzwejbka, thank you for your response. The on-device learning capability offers numerous advantages, such as enhanced personalization, increased security, and the ability to process data offline. My use cases involve training or fine-tuning small models, using different techniques ranging from reinforcement learning, supervised learning to federated learning, where rewards or labels are accessible to improve and update the model. Edge devices such as smartphones, equipped with GPUs and NPUs, are well-suited for this purpose. While TensorFlow Lite supports these features, PyTorch has yet to incorporate similar capabilities. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/pytorch/executorch/blob/main/extension/training/README.md We have added training support here. Please give it a shot and let us know what sort of improvements or further development you are interested in! |
Beta Was this translation helpful? Give feedback.
https://github.com/pytorch/executorch/blob/main/extension/training/README.md
We have added training support here. Please give it a shot and let us know what sort of improvements or further development you are interested in!