TorchX SDK and Components
Project Links
Meta
Author: TorchX Devs
Requires Python: >=3.7
Classifiers
Development Status
- 4 - Beta
Intended Audience
- Developers
- Science/Research
License
- OSI Approved :: BSD License
Programming Language
- Python :: 3
- Python :: 3.8
Topic
- Scientific/Engineering :: Artificial Intelligence
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:
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.
0.7.0
Jul 16, 2024
0.6.0
Oct 17, 2023
0.5.0
Apr 03, 2023
0.4.0
Dec 30, 2022
0.4.0.dev0
Dec 30, 2022
0.3.0
Oct 27, 2022
0.2.0
Jun 15, 2022
0.2.0.dev0
Jun 15, 2022
0.1.2
Mar 29, 2022
0.1.1
Nov 18, 2021
0.1.0
Oct 21, 2021
0.1.0rc1
Oct 18, 2021
0.1.0rc0
Oct 05, 2021
0.1.0b0
Jun 29, 2021
0.1.0.dev2
Jun 24, 2021
0.1.0.dev1
Jun 17, 2021
0.1.0.dev0
Jun 16, 2021