Legacy Frontends ================ Documentation for the TorchScript and FX compilation frontends. These frontends are in maintenance mode — for new projects use the Dynamo frontend (``torch.compile`` or ``torch.export``). TorchScript Frontend -------------------- .. toctree:: :maxdepth: 1 ts/creating_torchscript_module_in_python ts/getting_started_with_python_api ts/getting_started_with_cpp_api ts/torchscript_frontend_from_pytorch ts/ptq FX Frontend ----------- .. toctree:: :maxdepth: 1 fx/getting_started_with_fx_path