mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Add ExecuTorch warning to mobile_optimizer (#134697)
Preview: https://docs-preview.pytorch.org/pytorch/pytorch/134697/mobile_optimizer.html Pull Request resolved: https://github.com/pytorch/pytorch/pull/134697 Approved by: https://github.com/ali-khosh, https://github.com/malfet Co-authored-by: Nikita Shulga <2453524+malfet@users.noreply.github.com>
This commit is contained in:
committed by
PyTorch MergeBot
parent
193c547461
commit
0d193a0adf
@ -2,7 +2,11 @@ torch.utils.mobile_optimizer
|
||||
===================================
|
||||
|
||||
.. warning::
|
||||
This API is in beta and may change in the near future.
|
||||
PyTorch Mobile is no longer actively supported. Please check out
|
||||
`ExecuTorch <https://pytorch.org/executorch-overview>`__, PyTorch's
|
||||
all-new on-device inference library. You can also review
|
||||
documentation on `XNNPACK <https://pytorch.org/executorch/stable/native-delegates-executorch-xnnpack-delegate.html>`__
|
||||
and `Vulkan <https://pytorch.org/executorch/stable/native-delegates-executorch-vulkan-delegate.html>`__ delegates.
|
||||
|
||||
Torch mobile supports ``torch.utils.mobile_optimizer.optimize_for_mobile`` utility to run a list of optimization pass with modules in eval mode.
|
||||
The method takes the following parameters: a torch.jit.ScriptModule object, a blocklisting optimization set, a preserved method list, and a backend.
|
||||
|
Reference in New Issue
Block a user