René's URL Explorer Experiment


Title: Integrating a Backend Delegate into ExecuTorch — ExecuTorch main documentation

Generator: Docutils 0.18.1: http://docutils.sourceforge.net/

direct link

Domain: docs.pytorch.org


Hey, it has json ld scripts:
    {
       "@context": "https://schema.org",
       "@type": "Article",
       "name": "Integrating a Backend Delegate into ExecuTorch",
       "headline": "Integrating a Backend Delegate into ExecuTorch",
       "description": "PyTorch Documentation. Explore PyTorch, an open-source machine learning library that accelerates the path from research prototyping to production deployment. Discover tutorials, API references, and guides to help you build and deploy deep learning models efficiently.",
       "url": "/backend-delegates-integration.html",
       "articleBody": "Integrating a Backend Delegate into ExecuTorch# Disclaimer: We are planning to restructure the repository around delegates. With that some of these guidelines will change in the future. This is a high level guideline when integrating a backend delegate with ExecuTorch. Directory Structure# Delegate files should be under this directory: executorch/backends/\u003cdelegate_name\u003e/. The delegate name should be unique. Python Source Files# Delegate Python files such as those implementing preprocess() or partition() functions for ExecuTorch AOT flow, excluding any external third-party dependencies and their files, should be installed and available with the top level ExecuTorch package. For third-party dependencies, please refer to this. C++ Source Files# At a minimum, a delegate must provide CMake support for building its C++ sources. For the CMake setup: The delegate directory should be included by the top-level CMakeLists.txt file using the add_subdirectory command. It should be built conditionally using an ExecuTorch build flag like EXECUTORCH_BUILD_\u003cDELEGATE_NAME\u003e. (See EXECUTORCH_BUILD_XNNPACK for an example.) For third-party dependencies, please refer to this. Tests# Tests should be added under executorch/backends/\u003cdelegate_name\u003e/test. Tests can be either python or C++ tests. For adding more complex end-to-end (e2e) tests, please reach out to us. Common test types: Simple python unit tests that test AOT logic such as partitioner() or AOT export flow (generating a .pte file from an nn.Module) Runtime C++ tests, using gtest, that test delegate init() or execute() runtime logic. Documentation# A delegate must include: executorch/backends/\u003cdelegate_name\u003e/README.md \u2013 covering the basics of the delegate, its directory structure, features, and any known issues. executorch/backends/\u003cdelegate_name\u003e/setup.md \u2013 documenting any additional setup steps beyond the ones listed above.",
       "author": {
         "@type": "Organization",
         "name": "PyTorch Contributors",
         "url": "https://pytorch.org"
       },
       "image": "https://pytorch.org/docs/stable/_static/img/pytorch_seo.png",
       "mainEntityOfPage": {
         "@type": "WebPage",
         "@id": "/backend-delegates-integration.html"
       },
       "datePublished": "2023-01-01T00:00:00Z",
       "dateModified": "2023-01-01T00:00:00Z"
     }
 

docsearch:languageen
og:imagehttps://docs.pytorch.org/docs/stable/_static/img/pytorch_seo.png
None3

Links:

https://pytorch.org/
Get Started https://pytorch.org/get-started/locally
Tutorials https://docs.pytorch.org/tutorials
Learn the Basics https://pytorch.org/tutorials/beginner/basics/intro.html
PyTorch Recipes https://pytorch.org/tutorials/recipes/recipes_index.html
Intro to PyTorch - YouTube Series https://pytorch.org/tutorials/beginner/introyt.html
Webinars https://pytorch.org/webinars/
Landscape https://landscape.pytorch.org/
Join the Ecosystem https://pytorch.org/join-ecosystem
Community Hub https://pytorch.org/community-hub/
Forums https://discuss.pytorch.org/
Developer Resources https://pytorch.org/resources
Contributor Awards https://pytorch.org/contributor-awards/
Community Events https://pytorch.org/community-events/
PyTorch Ambassadors https://pytorch.org/programs/ambassadors/
PyTorch https://pytorch.org/projects/pytorch/
vLLM https://pytorch.org/projects/vllm/
DeepSpeed https://pytorch.org/projects/deepspeed/
Host Your Project https://pytorch.org/projects/host-your-project/
RAY https://pytorch.org/projects/ray/
PyTorch https://docs.pytorch.org/docs/stable/index.html
Domains https://pytorch.org/domains
Blog https://pytorch.org/blog/
Announcements https://pytorch.org/announcements
Case Studies Events Newsletter https://pytorch.org/case-studies/
Events https://pytorch.org/events
Newsletter https://pytorch.org/newsletter
PyTorch Foundation https://pytorch.org/foundation
Members https://pytorch.org/members
Governing Board https://pytorch.org/governing-board
Technical Advisory Council https://pytorch.org/tac
Cloud Credit Program https://pytorch.org/credits
Staff https://pytorch.org/staff
Contact https://pytorch.org/contact
Brand Guidelines https://pytorch.org/wp-content/uploads/2025/09/pytorch_brand_guide_091925a.pdf
JOIN https://pytorch.org/join
https://docs.pytorch.org/executorch/main/backend-delegates-integration.html
https://docs.pytorch.org/executorch/main/backend-delegates-integration.html
Get Startedhttps://pytorch.org/get-started/locally
Tutorialshttps://docs.pytorch.org/tutorials
Learn the Basicshttps://pytorch.org/tutorials/beginner/basics/intro.html
PyTorch Recipeshttps://pytorch.org/tutorials/recipes/recipes_index.html
Introduction to PyTorch - YouTube Serieshttps://pytorch.org/tutorials/beginner/introyt.html
Webinarshttps://pytorch.org/webinars/
Landscapehttps://landscape.pytorch.org/
Join the Ecosystemhttps://pytorch.org/join-ecosystem
Community Hubhttps://pytorch.org/community-hub/
Forumshttps://discuss.pytorch.org/
Developer Resourceshttps://pytorch.org/resources
Contributor Awardshttps://pytorch.org/contributor-awards/
Community Eventshttps://pytorch.org/community-events/
PyTorch Ambassadorshttps://pytorch.org/programs/ambassadors/
PyTorchhttps://pytorch.org/projects/pytorch/
vLLMhttps://pytorch.org/projects/vllm/
DeepSpeedhttps://pytorch.org/projects/deepspeed/
Host Your Projecthttps://pytorch.org/projects/host-your-project/
PyTorchhttps://docs.pytorch.org/docs/stable/index.html
Domainshttps://pytorch.org/domains
Bloghttps://pytorch.org/blog/
Announcementshttps://pytorch.org/announcements
Case Studieshttps://pytorch.org/case-studies/
Eventshttps://pytorch.org/events
Newsletterhttps://pytorch.org/newsletter
PyTorch Foundationhttps://pytorch.org/foundation
Membershttps://pytorch.org/members
Governing Boardhttps://pytorch.org/governing-board
Technical Advisory Councilhttps://pytorch.org/tac
Cloud Credit Programhttps://pytorch.org/credits
Staffhttps://pytorch.org/staff
Contacthttps://pytorch.org/contact
Skip to main contenthttps://docs.pytorch.org/executorch/main/backend-delegates-integration.html#main-content
https://docs.pytorch.org/executorch/main/index.html
Intro https://docs.pytorch.org/executorch/main/intro-section.html
Quick Start https://docs.pytorch.org/executorch/main/quick-start-section.html
Edge https://docs.pytorch.org/executorch/main/edge-platforms-section.html
Backends https://docs.pytorch.org/executorch/main/backends-section.html
LLMs https://docs.pytorch.org/executorch/main/llm/working-with-llms.html
Advanced https://docs.pytorch.org/executorch/main/advanced-topics-section.html
Tools https://docs.pytorch.org/executorch/main/tools-section.html
API https://docs.pytorch.org/executorch/main/api-section.html
Support https://docs.pytorch.org/executorch/main/support-section.html
Xhttps://x.com/PyTorch
GitHubhttps://github.com/pytorch/executorch
Discoursehttps://discuss.pytorch.org/
PyPihttps://pypi.org/project/executorch
Intro https://docs.pytorch.org/executorch/main/intro-section.html
Quick Start https://docs.pytorch.org/executorch/main/quick-start-section.html
Edge https://docs.pytorch.org/executorch/main/edge-platforms-section.html
Backends https://docs.pytorch.org/executorch/main/backends-section.html
LLMs https://docs.pytorch.org/executorch/main/llm/working-with-llms.html
Advanced https://docs.pytorch.org/executorch/main/advanced-topics-section.html
Tools https://docs.pytorch.org/executorch/main/tools-section.html
API https://docs.pytorch.org/executorch/main/api-section.html
Support https://docs.pytorch.org/executorch/main/support-section.html
Xhttps://x.com/PyTorch
GitHubhttps://github.com/pytorch/executorch
Discoursehttps://discuss.pytorch.org/
PyPihttps://pypi.org/project/executorch
https://docs.pytorch.org/executorch/main/index.html
Advancedhttps://docs.pytorch.org/executorch/main/advanced-topics-section.html
Backend & Delegateshttps://docs.pytorch.org/executorch/main/backend-delegate-advanced.html
#https://docs.pytorch.org/executorch/main/backend-delegates-integration.html#integrating-a-backend-delegate-into-executorch
#https://docs.pytorch.org/executorch/main/backend-delegates-integration.html#directory-structure
#https://docs.pytorch.org/executorch/main/backend-delegates-integration.html#python-source-files
thishttps://docs.pytorch.org/executorch/main/backend-delegates-dependencies.html
#https://docs.pytorch.org/executorch/main/backend-delegates-integration.html#c-source-files
thishttps://docs.pytorch.org/executorch/main/backend-delegates-dependencies.html
#https://docs.pytorch.org/executorch/main/backend-delegates-integration.html#tests
#https://docs.pytorch.org/executorch/main/backend-delegates-integration.html#documentation
previous Backend & Delegates https://docs.pytorch.org/executorch/main/backend-delegate-advanced.html
next Third-Party Dependency Management for Backend Delegates https://docs.pytorch.org/executorch/main/backend-delegates-dependencies.html
PyData Sphinx Themehttps://pydata-sphinx-theme.readthedocs.io/en/stable/index.html
previous Backend & Delegates https://docs.pytorch.org/executorch/main/backend-delegate-advanced.html
next Third-Party Dependency Management for Backend Delegates https://docs.pytorch.org/executorch/main/backend-delegates-dependencies.html
Directory Structurehttps://docs.pytorch.org/executorch/main/backend-delegates-integration.html#directory-structure
Python Source Fileshttps://docs.pytorch.org/executorch/main/backend-delegates-integration.html#python-source-files
C++ Source Fileshttps://docs.pytorch.org/executorch/main/backend-delegates-integration.html#c-source-files
Testshttps://docs.pytorch.org/executorch/main/backend-delegates-integration.html#tests
Documentationhttps://docs.pytorch.org/executorch/main/backend-delegates-integration.html#documentation
Edit on GitHub https://github.com/pytorch/executorch/edit/main/docs/source/backend-delegates-integration.md
Show Source https://docs.pytorch.org/executorch/main/_sources/backend-delegates-integration.md.txt
View Docshttps://docs.pytorch.org/docs/stable/index.html
View Tutorialshttps://docs.pytorch.org/tutorials
View Resourceshttps://pytorch.org/resources
Privacy Policyhttps://www.linuxfoundation.org/privacy/
https://www.facebook.com/pytorch
https://twitter.com/pytorch
https://www.youtube.com/pytorch
https://www.linkedin.com/company/pytorch
https://pytorch.slack.com
https://pytorch.org/wechat
Policieshttps://www.linuxfoundation.org/legal/policies
Trademark Usagehttps://www.linuxfoundation.org/trademark-usage
Privacy Policyhttp://www.linuxfoundation.org/privacy
Cookies Policyhttps://www.facebook.com/policies/cookies/
Sphinxhttps://www.sphinx-doc.org/
PyData Sphinx Themehttps://pydata-sphinx-theme.readthedocs.io/en/stable/index.html

Viewport: width=device-width, initial-scale=1

Robots: noindex


URLs of crawlers that visited me.