EveryDev.ai
Subscribe
Home
Tools

5,019+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2550
  • Coding1884
  • Infrastructure884
  • Projects712
  • Research632
  • MCP598
  • Marketing496
  • Analytics486
  • Design417
  • Testing403
  • Data376
  • Security318
  • Integration257
  • Communication250
  • Prompts241
  • Extensions218
  • Commerce169
  • DevOps168
  • Voice168
  • Web123
  • Learning114
  • Finance33
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. PyTorch/XLA
    PyTorch/XLA icon

    PyTorch/XLA

    AI Infrastructure
    Featured

    Python package that implements the XLA compiler as a backend for PyTorch, enabling training on Cloud TPUs and other XLA devices.

    Visit Website

    At a Glance

    Pricing
    Open Source

    PyTorch/XLA Python package released under a BSD 3-clause style license (full license text in the repository LICENSE file).

    Engagement

    Available On

    Windows
    macOS
    Linux
    API
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI InfrastructureAI Development LibrariesCompute Optimization

    Alternatives

    PyTorchtorchtunerGPU
    Developer
    PyTorch FoundationSan Francisco, CAEst. 2022

    Listed Oct 2026

    About PyTorch/XLA

    PyTorch/XLA (torch_xla) is a Python package that uses the XLA deep learning compiler to connect the PyTorch framework to Cloud TPUs and other XLA devices. The repository is jointly operated and maintained by Google, Meta and individual contributors. The project notes that once TorchTPU is public it will replace PyTorch/XLA.

    What It Is

    PyTorch/XLA is a compiler backend for PyTorch. Existing PyTorch models and training loops are moved to an XLA device with minimal code changes, such as moving tensors and models to the xla device and wrapping steps in torch_xla.step(). It is installed with pip, for example pip install torch torch_xla[tpu], and also ships as Docker images and nightly wheels.

    Training Modes and Distribution

    The docs describe single-process training, multi-process training launched with torch_xla.launch, and SPMD, where one Python process controls all TPUs on the system. Distributed support covers Distributed Data Parallel, two FSDP approaches (one process per accelerator, and SPMD-based), distributed checkpointing and Torch Distributed integration through an xla process-group backend.

    Advanced Techniques

    The documentation covers custom kernels via Pallas on TPU and via Triton on GPU, export to StableHLO, automatic mixed precision, dynamic shapes, TorchDynamo integration and quantized operations. It also documents scan and scan_layers for repeated layers, while_loop for memory use, and @assume_pure to speed up tracing. Troubleshooting guides address tracing versus execution time and sources of recompilation.

    Current Status

    A notice in the README and docs points to the TorchTPU announcement, stating that TorchTPU will replace PyTorch/XLA once it is public. An October 2025 RFC proposed a more native direction for PyTorch on TPU. The latest release listed is v2.9.0.

    PyTorch/XLA - 1

    Community Discussions

    Be the first to start a conversation about PyTorch/XLA

    Share your experience with PyTorch/XLA, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    PyTorch/XLA Python package released under a BSD 3-clause style license (full license text in the repository LICENSE file).

    • Python package connecting PyTorch to Cloud TPUs via the XLA compiler
    • BSD 3-clause style license text in LICENSE file (GitHub metadata shows NOASSERTION)
    • Cloud TPU usage costs are external and not sold by this product
    • Free trial on a single Cloud TPU VM via Kaggle noted in README

    Capabilities

    Key Features

    • XLA backend for PyTorch on Cloud TPUs
    • Single-process, multi-process and SPMD training
    • Distributed Data Parallel and FSDP support
    • Custom kernels via Pallas and Triton
    • Torch export to StableHLO
    • Automatic mixed precision
    • TorchDynamo integration
    • Dynamic shapes support
    • Quantized operations
    • scan, scan_layers and while_loop optimizations
    • Distributed checkpointing
    • Custom hardware plugins
    • Docker images and nightly wheels

    Integrations

    PyTorch
    Google Cloud TPU
    XLA
    OpenXLA
    Kaggle
    Pallas
    Triton
    StableHLO
    TorchDynamo
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate PyTorch/XLA and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    PyTorch Foundation

    The PyTorch Foundation operates under the Linux Foundation to steward the PyTorch open-source deep learning framework. The foundation supports a global community of developers and researchers building machine learning applications. Member companies collaborate on training, events, tooling, and academic research to advance the PyTorch ecosystem.

    Founded 2022
    San Francisco, CA
    750 employees

    Used by

    Meta
    Amazon Web Services
    Microsoft Azure
    Google Cloud
    +2 more
    Read more about PyTorch Foundation
    WebsiteGitHubLinkedInX / Twitter
    4 tools in directory

    Similar Tools

    PyTorch icon

    PyTorch

    An open-source machine learning framework for deep learning research and production with GPU acceleration and distributed training support.

    torchtune icon

    torchtune

    A native-PyTorch library for authoring, post-training, and fine-tuning LLMs with hackable recipes and YAML configs.

    rGPU icon

    rGPU

    Runs PyTorch and CUDA workloads on a remote NVIDIA GPU while the application code stays on the local machine.

    Browse all tools

    Related Topics

    AI Infrastructure

    Infrastructure designed for deploying and running AI models.

    507 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    478 tools

    Compute Optimization

    Tools for optimizing computational resources and performance.

    72 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions