Skip to main content

TorchX SDK and Components

Project description

PyPI License Tests Lint codecov

TorchX

TorchX is a universal job launcher for PyTorch applications. TorchX is designed to have fast iteration time for training/research and support for E2E production ML pipelines when you're ready.

TorchX currently supports:

  • Kubernetes (EKS, GKE, AKS, etc)
  • Slurm
  • AWS Batch
  • Docker
  • Local

Need a scheduler not listed? Let us know!

Quickstart

See the quickstart guide.

Documentation

Requirements

torchx:

  • python3 (3.8+)
  • PyTorch
  • optional: Docker (needed for docker based schedulers)

Certain schedulers may require scheduler specific requirements. See installation for info.

Installation

Stable

# install torchx sdk and CLI -- minimum dependencies
pip install torchx

# install with all dependencies
pip install "torchx[dev]"

# install torchx Kubernetes / Volcano support
pip install "torchx[kubernetes]"

# install torchx GCP Batch support
pip install "torchx[gcp_batch]"

Nightly

# install torchx sdk and CLI
pip install torchx-nightly[dev]

Source (Development)

# clone the repo
git clone https://github.com/meta-pytorch/torchx.git
cd torchx

# install with uv (recommended for development)
uv sync --extra dev

# or with pip
pip install -e ".[dev]"

Docker

TorchX provides a docker container for using as as part of a TorchX role.

See: https://github.com/meta-pytorch/torchx/pkgs/container/torchx

Contributing

We welcome PRs! See the CONTRIBUTING file.

License

TorchX is BSD licensed, as found in the LICENSE file.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

torchx_nightly-2026.4.13-py3-none-any.whl (236.9 kB view details)

Uploaded Python 3

File details

Details for the file torchx_nightly-2026.4.13-py3-none-any.whl.

File metadata

File hashes

Hashes for torchx_nightly-2026.4.13-py3-none-any.whl
Algorithm Hash digest
SHA256 4d335f71933073f7de229729db6a95f88f5f6ff600826d7bb02ac1c790ce2af0
MD5 cbfe8785873a3aee40532a064e20c432
BLAKE2b-256 d695d218ce83ae1b93b54d8150a75f6c08a86bd89cd8d24efececb151a254079

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page