Metadata-Version: 2.4
Name: torchx-nightly
Version: 2026.4.21
Summary: TorchX SDK and Components
Author-email: TorchX Devs <torchx@fb.com>
License-Expression: BSD-3-Clause
Project-URL: Homepage, https://github.com/meta-pytorch/torchx
Project-URL: Documentation, https://meta-pytorch.org/torchx/
Project-URL: Repository, https://github.com/meta-pytorch/torchx
Keywords: pytorch,machine learning
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: docstring-parser>=0.8.1
Requires-Dist: pyyaml
Requires-Dist: docker
Requires-Dist: filelock
Requires-Dist: fsspec>=2023.10.0
Requires-Dist: tabulate
Requires-Dist: typing-extensions
Provides-Extra: aws-batch
Requires-Dist: boto3; extra == "aws-batch"
Provides-Extra: kubernetes
Requires-Dist: kubernetes>=11; extra == "kubernetes"
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: aiobotocore; extra == "dev"
Requires-Dist: boto3; extra == "dev"
Requires-Dist: kubernetes>=11; extra == "dev"
Requires-Dist: moto>=5; extra == "dev"
Requires-Dist: s3fs; extra == "dev"
Requires-Dist: sagemaker-train; extra == "dev"
Requires-Dist: ax-platform[mysql]; extra == "dev"
Requires-Dist: captum; extra == "dev"
Requires-Dist: hydra-core; extra == "dev"
Requires-Dist: ipython; extra == "dev"
Requires-Dist: mlflow-skinny; extra == "dev"
Requires-Dist: pytorch-lightning; extra == "dev"
Requires-Dist: tensorboard; extra == "dev"
Requires-Dist: torch; extra == "dev"
Requires-Dist: torch-model-archiver; extra == "dev"
Requires-Dist: torchmetrics; extra == "dev"
Requires-Dist: torchserve; extra == "dev"
Requires-Dist: torchtext; extra == "dev"
Requires-Dist: torchvision; extra == "dev"
Requires-Dist: ts; extra == "dev"
Requires-Dist: lintrunner; extra == "dev"
Requires-Dist: lintrunner-adapters; extra == "dev"
Requires-Dist: pip; extra == "dev"
Requires-Dist: pyre-check; extra == "dev"
Dynamic: license-file

[![PyPI](https://img.shields.io/pypi/v/torchx)](https://pypi.org/project/torchx/)
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://github.com/meta-pytorch/torchx/blob/main/LICENSE)
![Tests](https://github.com/meta-pytorch/torchx/actions/workflows/python-unittests.yaml/badge.svg)
![Lint](https://github.com/meta-pytorch/torchx/actions/workflows/lint.yaml/badge.svg)
[![codecov](https://codecov.io/gh/pytorch/torchx/branch/main/graph/badge.svg?token=ceHHIm0hXy)](https://codecov.io/gh/pytorch/torchx)


# 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!](https://github.com/meta-pytorch/torchx/issues?q=is%3Aopen+is%3Aissue+label%3Ascheduler-request)

## Quickstart

See the [quickstart guide](https://meta-pytorch.org/torchx/latest/quickstart.html).

## Documentation

* [Stable Documentation](https://meta-pytorch.org/torchx/latest/)
* [Nightly Documentation](https://meta-pytorch.org/torchx/main/)

## Requirements

torchx:

* python3 (3.8+)
* [PyTorch](https://pytorch.org/get-started/locally/)
* optional: [Docker](https://docs.docker.com/get-docker/) (needed for docker based schedulers)

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

## Installation

### Stable

```bash
# 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

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

### Source (Development)

```bash
# 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](https://github.com/meta-pytorch/torchx/blob/main/CONTRIBUTING.md) file.

## License

TorchX is BSD licensed, as found in the [LICENSE](https://github.com/meta-pytorch/torchx/blob/main/LICENSE) file.
