Skip to main content

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
  • Ray (prototype)
  • GCP Batch (prototype)

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 torchx sdk and CLI -- all dependencies
pip install "torchx[dev]"

# install torchx kubeflow pipelines (kfp) support
pip install "torchx[kfp]"

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

# install torchx Ray support
pip install "torchx[ray]"

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

Nightly

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

Source

# install torchx sdk and CLI from source
$ pip install -e git+https://github.com/pytorch/torchx.git#egg=torchx

# install extra dependencies
$ pip install -e git+https://github.com/pytorch/torchx.git#egg=torchx[dev]

Docker

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

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

Contributing

We welcome PRs! See the CONTRIBUTING file.

License

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

Metadata

Release files for torchx 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for torchx 0.7.0
File Size Uploaded
torchx-0.7.0.tar.gz 196.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for torchx 0.7.0
File Interpreter ABI Platform
torchx-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 452.2 kB

Release files / torchx-0.7.0.tar.gz

Download URL torchx-0.7.0.tar.gz
Size 196.1 kB
Tags Source
SHA-256 checksum
How to use checksums
933b800849c69ddff9feda931f0ae2c4083638eafc73abfdf361158667c68ad6
BLAKE2b-256 checksum
How to use checksums
eda9e07e64222e59f44eb18b333bc8db942a295c0d9c16f04c8703fe106a8fd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.10

Release files / torchx-0.7.0-py3-none-any.whl

Download URL torchx-0.7.0-py3-none-any.whl
Size 256.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
815c2628c30de1f5938c14c4427cfe280fdf93473b171be906ab7c1ea5971824
BLAKE2b-256 checksum
How to use checksums
a08d282b884cef8f26b240e1ac8e60513a25a68e3463dc1c68771191a2c8a209
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.10
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page