CINXE.COM

OpenXLA Project

<!doctype html> <html lang="en" dir="ltr"> <head> <meta name="google-signin-client-id" content="157101835696-ooapojlodmuabs2do2vuhhnf90bccmoi.apps.googleusercontent.com"> <meta name="google-signin-scope" content="profile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award"> <meta property="og:site_name" content="OpenXLA Project"> <meta property="og:type" content="website"><meta name="theme-color" content="#1a344c"><meta charset="utf-8"> <meta content="IE=Edge" http-equiv="X-UA-Compatible"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href="/_pwa/openxla/manifest.json" crossorigin="use-credentials"> <link rel="preconnect" href="//www.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.googleapis.com" crossorigin> <link rel="preconnect" href="//apis.google.com" crossorigin> <link rel="preconnect" href="//www.google-analytics.com" crossorigin><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"> <link rel="stylesheet" href="//fonts.googleapis.com/css2?family=Material+Icons&family=Material+Symbols+Outlined&display=block"><link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/css/app.css"> <link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/css/dark-theme.css" disabled> <link rel="shortcut icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/images/favicon.png"> <link rel="apple-touch-icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/images/touchicon-180.png"><link rel="canonical" href="https://openxla.org/xla"><link rel="search" type="application/opensearchdescription+xml" title="OpenXLA Project" href="https://openxla.org/s/opensearch.xml"> <link rel="alternate" hreflang="en" href="https://openxla.org/xla" /><link rel="alternate" hreflang="x-default" href="https://openxla.org/xla" /><link rel="alternate" hreflang="ar" href="https://openxla.org/xla?hl=ar" /><link rel="alternate" hreflang="bn" href="https://openxla.org/xla?hl=bn" /><link rel="alternate" hreflang="zh-Hans" href="https://openxla.org/xla?hl=zh-cn" /><link rel="alternate" hreflang="zh-Hant" href="https://openxla.org/xla?hl=zh-tw" /><link rel="alternate" hreflang="fa" href="https://openxla.org/xla?hl=fa" /><link rel="alternate" hreflang="fr" href="https://openxla.org/xla?hl=fr" /><link rel="alternate" hreflang="de" href="https://openxla.org/xla?hl=de" /><link rel="alternate" hreflang="he" href="https://openxla.org/xla?hl=he" /><link rel="alternate" hreflang="hi" href="https://openxla.org/xla?hl=hi" /><link rel="alternate" hreflang="id" href="https://openxla.org/xla?hl=id" /><link rel="alternate" hreflang="it" href="https://openxla.org/xla?hl=it" /><link rel="alternate" hreflang="ja" href="https://openxla.org/xla?hl=ja" /><link rel="alternate" hreflang="ko" href="https://openxla.org/xla?hl=ko" /><link rel="alternate" hreflang="pl" href="https://openxla.org/xla?hl=pl" /><link rel="alternate" hreflang="pt-BR" href="https://openxla.org/xla?hl=pt-br" /><link rel="alternate" hreflang="ru" href="https://openxla.org/xla?hl=ru" /><link rel="alternate" hreflang="es-419" href="https://openxla.org/xla?hl=es-419" /><link rel="alternate" hreflang="th" href="https://openxla.org/xla?hl=th" /><link rel="alternate" hreflang="tr" href="https://openxla.org/xla?hl=tr" /><link rel="alternate" hreflang="vi" href="https://openxla.org/xla?hl=vi" /><title>OpenXLA Project</title> <meta property="og:title" content="OpenXLA Project"><meta property="og:url" content="https://openxla.org/xla"><meta property="og:image" content="https://openxla.org/static/site-assets/images/OpenXLA-Logo-RGB-STACK-LIGHT-BG.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="675"><meta property="og:locale" content="en"><meta name="twitter:card" content="summary_large_image"><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "headline": "XLA" } </script> <link rel="stylesheet" href="/extras.css"></head> <body class="" template="page" theme="openxla-theme" type="article" appearance layout="docs" display-toc pending> <devsite-progress type="indeterminate" id="app-progress"></devsite-progress> <section class="devsite-wrapper"> <devsite-cookie-notification-bar></devsite-cookie-notification-bar><devsite-header role="banner"> <div class="devsite-header--inner nocontent"> <div class="devsite-top-logo-row-wrapper-wrapper"> <div class="devsite-top-logo-row-wrapper"> <div class="devsite-top-logo-row"> <button type="button" id="devsite-hamburger-menu" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Navigation menu button" visually-hidden aria-label="Open menu"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="openXLAProject" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <source srcset="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/images/lockup-dark-theme.svg" media="(prefers-color-scheme: dark)" class="devsite-dark-theme" alt="OpenXLA Project"> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/images/lockup.svg" class="devsite-site-logo" alt="OpenXLA Project"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> </li> </ul> </span> </div> <div class="devsite-top-logo-row-middle"> <div class="devsite-header-upper-tabs"> <devsite-tabs class="upper-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Upper tabs"> <tab class="devsite-dropdown devsite-active "> <a href="https://openxla.org/#xla" track-metadata-eventdetail="https://openxla.org/#xla" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - xla" track-metadata-module="primary nav" aria-label="XLA, selected" data-category="Site-Wide Custom Events" data-label="Tab: XLA" track-name="xla" > XLA </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for XLA" track-type="nav" track-metadata-eventdetail="https://openxla.org/#xla" track-metadata-position="nav - xla" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: XLA" track-name="xla" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://openxla.org/#xla" track-type="nav" track-metadata-eventdetail="https://openxla.org/#xla" track-metadata-position="nav - xla" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Installation/Usage </div> </a> </li> <li class="devsite-nav-item"> <a href="https://openxla.org/xla" track-type="nav" track-metadata-eventdetail="https://openxla.org/xla" track-metadata-position="nav - xla" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Documentation </div> </a> </li> <li class="devsite-nav-item"> <a href="https://github.com/openxla/xla" track-type="nav" track-metadata-eventdetail="https://github.com/openxla/xla" track-metadata-position="nav - xla" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Source Code </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown "> <a href="https://openxla.org/#stablehlo" track-metadata-eventdetail="https://openxla.org/#stablehlo" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - stablehlo" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: StableHLO" track-name="stablehlo" > StableHLO </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for StableHLO" track-type="nav" track-metadata-eventdetail="https://openxla.org/#stablehlo" track-metadata-position="nav - stablehlo" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: StableHLO" track-name="stablehlo" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://openxla.org/stablehlo" track-type="nav" track-metadata-eventdetail="https://openxla.org/stablehlo" track-metadata-position="nav - stablehlo" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Documentation </div> </a> </li> <li class="devsite-nav-item"> <a href="https://github.com/openxla/stablehlo" track-type="nav" track-metadata-eventdetail="https://github.com/openxla/stablehlo" track-metadata-position="nav - stablehlo" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Source Code </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown "> <a href="https://openxla.org/#shardy" track-metadata-eventdetail="https://openxla.org/#shardy" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - shardy" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Shardy" track-name="shardy" > Shardy </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Shardy" track-type="nav" track-metadata-eventdetail="https://openxla.org/#shardy" track-metadata-position="nav - shardy" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Shardy" track-name="shardy" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://openxla.org/shardy" track-type="nav" track-metadata-eventdetail="https://openxla.org/shardy" track-metadata-position="nav - shardy" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Documentation </div> </a> </li> <li class="devsite-nav-item"> <a href="https://github.com/openxla/shardy" track-type="nav" track-metadata-eventdetail="https://github.com/openxla/shardy" track-metadata-position="nav - shardy" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Source Code </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown "> <a href="https://openxla.org/#pjrt" track-metadata-eventdetail="https://openxla.org/#pjrt" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - pjrt" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: PJRT" track-name="pjrt" > PJRT </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for PJRT" track-type="nav" track-metadata-eventdetail="https://openxla.org/#pjrt" track-metadata-position="nav - pjrt" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: PJRT" track-name="pjrt" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://openxla.org/xla/pjrt" track-type="nav" track-metadata-eventdetail="https://openxla.org/xla/pjrt" track-metadata-position="nav - pjrt" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Documentation </div> </a> </li> <li class="devsite-nav-item"> <a href="https://github.com/openxla/xla/tree/main/xla/pjrt" track-type="nav" track-metadata-eventdetail="https://github.com/openxla/xla/tree/main/xla/pjrt" track-metadata-position="nav - pjrt" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Source Code </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown "> <a href="https://openxla.org/#community" track-metadata-eventdetail="https://openxla.org/#community" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - community" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Community" track-name="community" > Community </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Community" track-type="nav" track-metadata-eventdetail="https://openxla.org/#community" track-metadata-position="nav - community" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Community" track-name="community" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://openxla.org/events/fall_devlab_2024" track-type="nav" track-metadata-eventdetail="https://openxla.org/events/fall_devlab_2024" track-metadata-position="nav - community" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> 2024 OpenXLA Fall Dev Lab </div> </a> </li> <li class="devsite-nav-item"> <a href="https://openxla.org/events" track-type="nav" track-metadata-eventdetail="https://openxla.org/events" track-metadata-position="nav - community" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Events & Recordings </div> </a> </li> <li class="devsite-nav-item"> <a href="https://docs.google.com/document/d/161Tigj7rxgduI3kzIp_IsGNDkakIJUkv7E_44WSJ_aw" track-type="nav" track-metadata-eventdetail="https://docs.google.com/document/d/161Tigj7rxgduI3kzIp_IsGNDkakIJUkv7E_44WSJ_aw" track-metadata-position="nav - community" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Community Meetings </div> </a> </li> <li class="devsite-nav-item"> <a href="https://groups.google.com/a/openxla.org/g/openxla-discuss" track-type="nav" track-metadata-eventdetail="https://groups.google.com/a/openxla.org/g/openxla-discuss" track-metadata-position="nav - community" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> OpenXLA Discuss </div> </a> </li> <li class="devsite-nav-item"> <a href="https://discord.gg/ZKXq7b3V8A" track-type="nav" track-metadata-eventdetail="https://discord.gg/ZKXq7b3V8A" track-metadata-position="nav - community" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Discord </div> </a> </li> </ul> </div> </div> </div> </tab> <tab > <a href="https://openxla.org/#industry-partners" track-metadata-eventdetail="https://openxla.org/#industry-partners" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - industry partners" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Industry Partners" track-name="industry partners" > Industry Partners </a> </tab> <tab > <a href="https://openxla.org/#contact" track-metadata-eventdetail="https://openxla.org/#contact" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - contact" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Contact" track-name="contact" > Contact </a> </tab> </nav> </devsite-tabs> </div> <devsite-search enable-signin enable-search enable-suggestions enable-query-completion project-name="OpenXLA" tenant-name="OpenXLA Project" > <form class="devsite-search-form" action="https://openxla.org/s/results" method="GET"> <div class="devsite-search-container"> <button type="button" search-open class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Open search"></button> <div class="devsite-searchbox"> <input aria-activedescendant="" aria-autocomplete="list" aria-label="Search" aria-expanded="false" aria-haspopup="listbox" autocomplete="off" class="devsite-search-field devsite-search-query" name="q" placeholder="Search" role="combobox" type="text" value="" > <div class="devsite-search-image material-icons" aria-hidden="true"> </div> <div class="devsite-search-shortcut-icon-container" aria-hidden="true"> <kbd class="devsite-search-shortcut-icon">/</kbd> </div> </div> </div> </form> <button type="button" search-close class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Close search"></button> </devsite-search> </div> <devsite-appearance-selector></devsite-appearance-selector> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pl" >Polski</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="vi" >Tiếng Việt</a> </li> <li role="presentation"> <a role="menuitem" lang="tr" >Türkçe</a> </li> <li role="presentation"> <a role="menuitem" lang="ru" >Русский</a> </li> <li role="presentation"> <a role="menuitem" lang="he" >עברית</a> </li> <li role="presentation"> <a role="menuitem" lang="ar" >العربيّة</a> </li> <li role="presentation"> <a role="menuitem" lang="fa" >فارسی</a> </li> <li role="presentation"> <a role="menuitem" lang="hi" >हिंदी</a> </li> <li role="presentation"> <a role="menuitem" lang="bn" >বাংলা</a> </li> <li role="presentation"> <a role="menuitem" lang="th" >ภาษาไทย</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_tw" >中文 – 繁體</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> <devsite-user enable-profiles id="devsite-user"> <span class="button devsite-top-button" aria-hidden="true" visually-hidden>Sign in</span> </devsite-user> </div> </div> </div> <div class="devsite-collapsible-section devsite-header-no-lower-tabs "> <div class="devsite-header-background"> <div class="devsite-product-id-row" > <div class="devsite-product-description-row"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> <a href="https://openxla.org/#xla" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Lower Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="" > XLA </a> </li> </ul> </div> </div> </div> </div> </div> </devsite-header> <devsite-book-nav scrollbars > <div class="devsite-book-nav-filter" > <span class="filter-list-icon material-icons" aria-hidden="true"></span> <input type="text" placeholder="Filter" aria-label="Type to filter" role="searchbox"> <span class="filter-clear-button hidden" data-title="Clear filter" aria-label="Clear filter" role="button" tabindex="0"></span> </div> <nav class="devsite-book-nav devsite-nav nocontent" aria-label="Side menu"> <div class="devsite-mobile-header"> <button type="button" id="devsite-close-nav" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close navigation" aria-label="Close navigation"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="openXLAProject" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <source srcset="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/images/lockup-dark-theme.svg" media="(prefers-color-scheme: dark)" class="devsite-dark-theme" alt="OpenXLA Project"> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/images/lockup.svg" class="devsite-site-logo" alt="OpenXLA Project"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> </li> </ul> </span> </div> </div> <div class="devsite-book-nav-wrapper"> <div class="devsite-mobile-nav-top"> <ul class="devsite-nav-list"> <li class="devsite-nav-item"> <a href="/#xla" class="devsite-nav-title gc-analytics-event devsite-nav-has-children devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: XLA" track-name="xla" data-category="Site-Wide Custom Events" data-label="Responsive Tab: XLA" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > XLA </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: XLA" track-name="xla" > <span class="devsite-nav-text" tooltip menu="XLA"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="XLA"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/#stablehlo" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: StableHLO" track-name="stablehlo" data-category="Site-Wide Custom Events" data-label="Responsive Tab: StableHLO" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > StableHLO </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: StableHLO" track-name="stablehlo" > <span class="devsite-nav-text" tooltip menu="StableHLO"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="StableHLO"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/#shardy" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Shardy" track-name="shardy" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Shardy" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Shardy </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Shardy" track-name="shardy" > <span class="devsite-nav-text" tooltip menu="Shardy"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Shardy"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/#pjrt" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: PJRT" track-name="pjrt" data-category="Site-Wide Custom Events" data-label="Responsive Tab: PJRT" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > PJRT </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: PJRT" track-name="pjrt" > <span class="devsite-nav-text" tooltip menu="PJRT"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="PJRT"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/#community" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Community" track-name="community" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Community" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Community </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Community" track-name="community" > <span class="devsite-nav-text" tooltip menu="Community"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Community"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/#industry-partners" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Industry Partners" track-name="industry partners" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Industry Partners" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Industry Partners </span> </a> </li> <li class="devsite-nav-item"> <a href="/#contact" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Contact" track-name="contact" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Contact" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Contact </span> </a> </li> </ul> </div> <div class="devsite-mobile-nav-bottom"> <ul class="devsite-nav-list" menu="_book"> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>XLA developer guide</span> </div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Getting started</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/xla" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/xla/operation_semantics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/operation_semantics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/operation_semantics" ><span class="devsite-nav-text" tooltip>Operation semantics</span></a></li><li class="devsite-nav-item"><a href="/xla/architecture" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/architecture" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/architecture" ><span class="devsite-nav-text" tooltip>XLA architecture</span></a></li></ul></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Developer details</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/xla/aliasing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/aliasing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/aliasing" ><span class="devsite-nav-text" tooltip>Aliasing</span></a></li><li class="devsite-nav-item"><a href="/xla/async_ops" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/async_ops" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/async_ops" ><span class="devsite-nav-text" tooltip>Async HLO instructions</span></a></li><li class="devsite-nav-item"><a href="/xla/broadcasting" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/broadcasting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/broadcasting" ><span class="devsite-nav-text" tooltip>Broadcasting</span></a></li><li class="devsite-nav-item"><a href="/xla/copybara" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/copybara" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/copybara" ><span class="devsite-nav-text" tooltip>Copybara quirks</span></a></li><li class="devsite-nav-item"><a href="/xla/determinism" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/determinism" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/determinism" ><span class="devsite-nav-text" tooltip>Determinism</span></a></li><li class="devsite-nav-item"><a href="/xla/hermetic_cuda" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/hermetic_cuda" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/hermetic_cuda" ><span class="devsite-nav-text" tooltip>Hermetic CUDA overview</span></a></li><li class="devsite-nav-item"><a href="/xla/indexing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/indexing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/indexing" ><span class="devsite-nav-text" tooltip>Indexing Analysis</span></a></li><li class="devsite-nav-item"><a href="/xla/tools_multihost_hlo_runner" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/tools_multihost_hlo_runner" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/tools_multihost_hlo_runner" ><span class="devsite-nav-text" tooltip>Multi-host HLO runner</span></a></li><li class="devsite-nav-item"><a href="/xla/persisted_autotuning" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/persisted_autotuning" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/persisted_autotuning" ><span class="devsite-nav-text" tooltip>Persisted autotuning</span></a></li><li class="devsite-nav-item"><a href="/xla/shapes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/shapes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/shapes" ><span class="devsite-nav-text" tooltip>Shapes and layout</span></a></li><li class="devsite-nav-item"><a href="/xla/tiled_layout" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/tiled_layout" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/tiled_layout" ><span class="devsite-nav-text" tooltip>Tiled layout</span></a></li><li class="devsite-nav-item"><a href="/xla/lsp" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/lsp" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/lsp" ><span class="devsite-nav-text" tooltip>Using LSP autocompletion</span></a></li><li class="devsite-nav-item"><a href="/xla/custom_call" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/custom_call" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/custom_call" ><span class="devsite-nav-text" tooltip>Writing custom calls</span></a></li><li class="devsite-nav-item"><a href="/xla/tools" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/tools" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/tools" ><span class="devsite-nav-text" tooltip>XLA Tooling</span></a></li></ul></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Contributing</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/xla/contributing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/contributing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/contributing" ><span class="devsite-nav-text" tooltip>Contributing</span></a></li><li class="devsite-nav-item"><a href="/xla/build_from_source" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/build_from_source" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/build_from_source" ><span class="devsite-nav-text" tooltip>Build from source</span></a></li><li class="devsite-nav-item"><a href="/xla/developing_new_backend" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/developing_new_backend" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/developing_new_backend" ><span class="devsite-nav-text" tooltip>Develop a new backend for XLA</span></a></li><li class="devsite-nav-item"><a href="/xla/developer_guide" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/developer_guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/developer_guide" ><span class="devsite-nav-text" tooltip>Developer guide</span></a></li></ul></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>PJRT Plugins</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/xla/pjrt/pjrt_integration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/pjrt/pjrt_integration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/pjrt/pjrt_integration" ><span class="devsite-nav-text" tooltip>Develop a new PJRT plugin</span></a></li><li class="devsite-nav-item"><a href="/xla/pjrt/cpp_api_overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/pjrt/cpp_api_overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/pjrt/cpp_api_overview" ><span class="devsite-nav-text" tooltip>PJRT C++ API Overview</span></a></li><li class="devsite-nav-item"><a href="/xla/pjrt/examples" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/pjrt/examples" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/pjrt/examples" ><span class="devsite-nav-text" tooltip>PJRT Examples</span></a></li></ul></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Using XLA in TensorFlow</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/xla/tf2xla" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/tf2xla" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/tf2xla" ><span class="devsite-nav-text" tooltip>Using XLA in TensorFlow</span></a></li><li class="devsite-nav-item"><a href="/xla/tf2xla/tfcompile" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/tf2xla/tfcompile" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/tf2xla/tfcompile" ><span class="devsite-nav-text" tooltip>Use tfcompile</span></a></li><li class="devsite-nav-item"><a href="/xla/tf2xla/tutorials/autoclustering_xla" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/tf2xla/tutorials/autoclustering_xla" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/tf2xla/tutorials/autoclustering_xla" ><span class="devsite-nav-text" tooltip>Autoclustering tutorial</span></a></li><li class="devsite-nav-item"><a href="/xla/tf2xla/tutorials/jit_compile" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /xla/tf2xla/tutorials/jit_compile" track-type="bookNav" track-name="click" track-metadata-eventdetail="/xla/tf2xla/tutorials/jit_compile" ><span class="devsite-nav-text" tooltip>Use XLA with tf.function</span></a></li></ul></li> </ul> <ul class="devsite-nav-list" menu="XLA" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/#xla" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Installation/Usage" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Installation/Usage </span> </a> </li> <li class="devsite-nav-item"> <a href="/xla" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Documentation" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Documentation </span> </a> </li> <li class="devsite-nav-item"> <a href="https://github.com/openxla/xla" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Source Code" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Source Code </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="StableHLO" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/stablehlo" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Documentation" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Documentation </span> </a> </li> <li class="devsite-nav-item"> <a href="https://github.com/openxla/stablehlo" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Source Code" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Source Code </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Shardy" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/shardy" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Documentation" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Documentation </span> </a> </li> <li class="devsite-nav-item"> <a href="https://github.com/openxla/shardy" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Source Code" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Source Code </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="PJRT" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/xla/pjrt" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Documentation" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Documentation </span> </a> </li> <li class="devsite-nav-item"> <a href="https://github.com/openxla/xla/tree/main/xla/pjrt" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Source Code" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Source Code </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Community" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/events/fall_devlab_2024" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: 2024 OpenXLA Fall Dev Lab" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > 2024 OpenXLA Fall Dev Lab </span> </a> </li> <li class="devsite-nav-item"> <a href="/events" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Events &amp; Recordings" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Events &amp; Recordings </span> </a> </li> <li class="devsite-nav-item"> <a href="https://docs.google.com/document/d/161Tigj7rxgduI3kzIp_IsGNDkakIJUkv7E_44WSJ_aw" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Community Meetings" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Community Meetings </span> </a> </li> <li class="devsite-nav-item"> <a href="https://groups.google.com/a/openxla.org/g/openxla-discuss" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: OpenXLA Discuss" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > OpenXLA Discuss </span> </a> </li> <li class="devsite-nav-item"> <a href="https://discord.gg/ZKXq7b3V8A" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Discord" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Discord </span> </a> </li> </ul> </div> </div> </nav> </devsite-book-nav> <section id="gc-wrapper"> <main role="main" class="devsite-main-content" has-book-nav has-sidebar > <div class="devsite-sidebar"> <div class="devsite-sidebar-content"> <devsite-toc class="devsite-nav" role="navigation" aria-label="On this page" depth="2" scrollbars ></devsite-toc> <devsite-recommendations-sidebar class="nocontent devsite-nav"> </devsite-recommendations-sidebar> </div> </div> <devsite-content> <article class="devsite-article"> <div class="devsite-article-meta nocontent" role="navigation"> <ul class="devsite-breadcrumb-list" aria-label="Breadcrumb"> <li class="devsite-breadcrumb-item "> <a href="https://openxla.org/" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="OpenXLA" > OpenXLA </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://openxla.org/#xla" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="2" track-type="globalNav" track-name="breadcrumb" track-metadata-position="2" track-metadata-eventdetail="" > XLA </a> </li> </ul> <devsite-thumb-rating position="header"> </devsite-thumb-rating> </div> <devsite-feedback position="header" project-name="OpenXLA" product-id="5319284" bucket="" context="" version="t-devsite-webserver-20241114-r00-rc02.464921008191574316" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="header" class="nocontent" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/images/touchicon-180.png" > <button> Send feedback </button> </devsite-feedback> <h1 class="devsite-page-title" tabindex="-1"> XLA </h1> <devsite-feature-tooltip ack-key="AckCollectionsBookmarkTooltipDismiss" analytics-category="Site-Wide Custom Events" analytics-action-show="Callout Profile displayed" analytics-action-close="Callout Profile dismissed" analytics-label="Create Collection Callout" class="devsite-page-bookmark-tooltip nocontent" dismiss-button="true" id="devsite-collections-dropdown" dismiss-button-text="Dismiss" close-button-text="Got it"> <devsite-bookmark></devsite-bookmark> <span slot="popout-heading"> Stay organized with collections </span> <span slot="popout-contents"> Save and categorize content based on your preferences. </span> </devsite-feature-tooltip> <div class="devsite-page-title-meta"><devsite-view-release-notes></devsite-view-release-notes></div> <devsite-toc class="devsite-nav" depth="2" devsite-toc-embedded > </devsite-toc> <div class="devsite-article-body clearfix "> <p></p> <!-- DO NOT EDIT! Automatically generated file. --> <p>XLA (Accelerated Linear Algebra) is an open-source compiler for machine learning. The XLA compiler takes models from popular frameworks such as PyTorch, TensorFlow, and JAX, and optimizes the models for high-performance execution across different hardware platforms including GPUs, CPUs, and ML accelerators.</p> <p>As a part of the OpenXLA project, XLA is built collaboratively by industry-leading ML hardware and software companies, including Alibaba, Amazon Web Services, AMD, Apple, Arm, Google, Intel, Meta, and NVIDIA.</p> <h2 id="key_benefits" data-text="Key benefits" tabindex="-1">Key benefits</h2> <ul> <li><p><strong>Build anywhere</strong>: XLA is already integrated into leading ML frameworks such as TensorFlow, PyTorch, and JAX.</p></li> <li><p><strong>Run anywhere</strong>: It supports various backends including GPUs, CPUs, and ML accelerators, and includes a pluggable infrastructure to add support for more.</p></li> <li><p><strong>Maximize and scale performance</strong>: It optimizes a model&#39;s performance with production-tested optimization passes and automated partitioning for model parallelism.</p></li> <li><p><strong>Eliminate complexity</strong>: It leverages the power of <a href="https://mlir.llvm.org/">MLIR</a> to bring the best capabilities into a single compiler toolchain, so you don&#39;t have to manage a range of domain-specific compilers.</p></li> <li><p><strong>Future ready</strong>: As an open source project, built through a collaboration of leading ML hardware and software vendors, XLA is designed to operate at the cutting-edge of the ML industry.</p></li> </ul> <h2 id="documentation" data-text="Documentation" tabindex="-1">Documentation</h2> <p>To learn more about XLA, check out the links on the left. If you&#39;re a new XLA developer, you might want to start with <a href="/xla/architecture">XLA architecture</a> and then read <a href="/xla/contributing">Contributing</a>.</p> </div> <devsite-thumb-rating position="footer"> </devsite-thumb-rating> <devsite-feedback position="footer" project-name="OpenXLA" product-id="5319284" bucket="" context="" version="t-devsite-webserver-20241114-r00-rc02.464921008191574316" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="footer" class="nocontent" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/images/touchicon-180.png" > <button> Send feedback </button> </devsite-feedback> <div class="devsite-floating-action-buttons"> </div> </article> <devsite-content-footer class="nocontent"> <p>Except as otherwise noted, the content of this page is licensed under the <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 License</a>, and code samples are licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 License</a>. For details, see the <a href="https://developers.google.com/site-policies">Google Developers Site Policies</a>. Java is a registered trademark of Oracle and/or its affiliates.</p> <p>Last updated 2024-11-09 UTC.</p> </devsite-content-footer> <devsite-notification > </devsite-notification> <div class="devsite-content-data"> <template class="devsite-thumb-rating-feedback"> <devsite-feedback position="thumb-rating" project-name="OpenXLA" product-id="5319284" bucket="" context="" version="t-devsite-webserver-20241114-r00-rc02.464921008191574316" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="thumb-rating" class="nocontent" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/images/touchicon-180.png" > <button> Need to tell us more? </button> </devsite-feedback> </template> <template class="devsite-content-data-template"> [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-09 UTC."],[],[]] </template> </div> </devsite-content> </main> <devsite-footer-promos class="devsite-footer"> </devsite-footer-promos> <devsite-footer-linkboxes class="devsite-footer"> <nav class="devsite-footer-linkboxes nocontent" aria-label="Footer links"> <ul class="devsite-footer-linkboxes-list"> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Stay connected</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="https://twitter.com/openxla" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Twitter </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.youtube.com/@openxla" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > YouTube </a> </li> </ul> </li> </ul> </nav> </devsite-footer-linkboxes> <devsite-footer-utility class="devsite-footer"> <div class="devsite-footer-utility nocontent"> <nav class="devsite-footer-utility-links" aria-label="Utility links"> <ul class="devsite-footer-utility-list"> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//policies.google.com/terms" data-category="Site-Wide Custom Events" data-label="Footer Terms link" > Terms </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//policies.google.com/privacy" data-category="Site-Wide Custom Events" data-label="Footer Privacy link" > Privacy </a> </li> <li class="devsite-footer-utility-item glue-cookie-notification-bar-control"> <a class="devsite-footer-utility-link gc-analytics-event" href="#" data-category="Site-Wide Custom Events" data-label="Footer Manage cookies link" aria-hidden="true" > Manage cookies </a> </li> </ul> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pl" >Polski</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="vi" >Tiếng Việt</a> </li> <li role="presentation"> <a role="menuitem" lang="tr" >Türkçe</a> </li> <li role="presentation"> <a role="menuitem" lang="ru" >Русский</a> </li> <li role="presentation"> <a role="menuitem" lang="he" >עברית</a> </li> <li role="presentation"> <a role="menuitem" lang="ar" >العربيّة</a> </li> <li role="presentation"> <a role="menuitem" lang="fa" >فارسی</a> </li> <li role="presentation"> <a role="menuitem" lang="hi" >हिंदी</a> </li> <li role="presentation"> <a role="menuitem" lang="bn" >বাংলা</a> </li> <li role="presentation"> <a role="menuitem" lang="th" >ภาษาไทย</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_tw" >中文 – 繁體</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> </nav> </div> </devsite-footer-utility> <devsite-panel></devsite-panel> </section></section> <devsite-sitemask></devsite-sitemask> <devsite-snackbar></devsite-snackbar> <devsite-tooltip ></devsite-tooltip> <devsite-heading-link></devsite-heading-link> <devsite-analytics> <script type="application/json" analytics>[]</script> <script type="application/json" tag-management>{&#34;at&#34;: &#34;True&#34;, &#34;ga4&#34;: [{&#34;id&#34;: &#34;G-Z67BRKDG1B&#34;, &#34;purpose&#34;: 0}], &#34;ga4p&#34;: [{&#34;id&#34;: &#34;G-Z67BRKDG1B&#34;, &#34;purpose&#34;: 0}], &#34;gtm&#34;: [], &#34;parameters&#34;: {&#34;internalUser&#34;: &#34;False&#34;, &#34;language&#34;: {&#34;machineTranslated&#34;: &#34;False&#34;, &#34;requested&#34;: &#34;en&#34;, &#34;served&#34;: &#34;en&#34;}, &#34;pageType&#34;: &#34;article&#34;, &#34;projectName&#34;: &#34;OpenXLA&#34;, &#34;signedIn&#34;: &#34;False&#34;, &#34;tenant&#34;: &#34;openxla&#34;, &#34;recommendations&#34;: {&#34;sourcePage&#34;: &#34;&#34;, &#34;sourceType&#34;: 0, &#34;sourceRank&#34;: 0, &#34;sourceIdenticalDescriptions&#34;: 0, &#34;sourceTitleWords&#34;: 0, &#34;sourceDescriptionWords&#34;: 0, &#34;experiment&#34;: &#34;&#34;}, &#34;experiment&#34;: {&#34;ids&#34;: &#34;&#34;}}}</script> </devsite-analytics> <devsite-badger></devsite-badger> <script nonce="BWtpXQxaUpf93z1lIupBQV+AqQ92Gm"> (function(d,e,v,s,i,t,E){d['GoogleDevelopersObject']=i; t=e.createElement(v);t.async=1;t.src=s;E=e.getElementsByTagName(v)[0]; E.parentNode.insertBefore(t,E);})(window, document, 'script', 'https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/js/app_loader.js', '[56,"en",null,"/js/devsite_app_module.js","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla","https://openxla-dot-devsite-v2-prod-3p.appspot.com",1,null,["/_pwa/openxla/manifest.json","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/images/video-placeholder.svg","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/images/favicon.png","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/openxla/images/lockup.svg","https://fonts.googleapis.com/css?family=Roboto:300,400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"],1,null,[1,6,8,12,14,17,21,25,50,52,63,70,75,76,80,87,91,92,93,97,98,100,101,102,103,104,105,107,108,109,110,112,113,117,118,120,122,124,125,126,127,129,130,131,132,133,134,135,136,138,140,141,147,148,149,151,152,156,157,158,159,161,163,164,168,169,170,179,180,182,183,186,191,193,196],"AIzaSyCNm9YxQumEXwGJgTDjxoxXK6m1F-9720Q","AIzaSyCc76DZePGtoyUjqKrLdsMGk_ry7sljLbY","openxla.org","AIzaSyB9bqgQ2t11WJsOX8qNsCQ6U-w91mmqF-I","AIzaSyAdYnStPdzjcJJtQ0mvIaeaMKj7_t6J_Fg",null,null,null,["Search__enable_dynamic_content_confidential_banner","MiscFeatureFlags__enable_variable_operator","MiscFeatureFlags__enable_view_transitions","Profiles__enable_release_notes_notifications","Cloud__enable_llm_concierge_chat","Profiles__enable_awarding_url","Profiles__enable_recognition_badges","Experiments__reqs_query_experiments","Search__enable_page_map","MiscFeatureFlags__developers_footer_dark_image","Profiles__enable_completecodelab_endpoint","DevPro__enable_cloud_innovators_plus","BookNav__enable_tenant_cache_key","Cloud__enable_cloud_facet_chat","MiscFeatureFlags__enable_explain_this_code","Cloud__enable_cloudx_ping","CloudShell__cloud_shell_button","Profiles__enable_profile_collections","Cloud__enable_cloud_dlp_service","Profiles__enable_complete_playlist_endpoint","Cloud__enable_cloud_shell_fte_user_flow","Profiles__require_profile_eligibility_for_signin","DevPro__enable_developer_subscriptions","TpcFeatures__enable_mirror_tenant_redirects","Cloud__enable_legacy_calculator_redirect","MiscFeatureFlags__developers_footer_image","Analytics__enable_clearcut_logging","TpcFeatures__enable_required_headers","EngEduTelemetry__enable_engedu_telemetry","Profiles__enable_developer_profiles_callout","Search__enable_suggestions_from_borg","Cloud__enable_cloud_shell","Profiles__enable_public_developer_profiles","Profiles__enable_page_saving","MiscFeatureFlags__enable_firebase_utm","Cloud__enable_cloudx_experiment_ids","CloudShell__cloud_code_overflow_menu","Concierge__enable_pushui","Cloud__enable_free_trial_server_call","Profiles__enable_dashboard_curated_recommendations","OnSwitch__enable","MiscFeatureFlags__emergency_css","MiscFeatureFlags__enable_project_variables","Search__enable_ai_eligibility_checks"],null,null,"AIzaSyA58TaKli1DculwmAmbpzLVGuWc8eCQgQc","https://developerscontentserving-pa.googleapis.com","AIzaSyDWBU60w0P9hEkr29kkksYs8Z7gvZ8u_wc","https://developerscontentsearch-pa.googleapis.com",2,4,null,"https://developerprofiles-pa.googleapis.com",[56,"openxla","OpenXLA Project","openxla.org",null,"openxla-dot-devsite-v2-prod-3p.appspot.com",null,null,[null,1,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[1],null,null,null,null,[1,null,1],[1,1,null,1,1]],null,[72,null,null,null,null,null,"/images/lockup.svg","images/touchicon-180.png",null,null,null,1,null,null,null,null,null,null,null,null,null,2,null,null,null,"/images/lockup-dark-theme.svg"],[],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[],[1,1]],[[null,null,null,null,null,null,null,[["G-Z67BRKDG1B"],null,null,[["G-Z67BRKDG1B",1]]],null,null,null,null,1]],null,4]]') </script> <devsite-a11y-announce></devsite-a11y-announce> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10