torchx
TorchX SDK and Components
Decision gist · record as of 2026-08-14
Yes, if you need to run PyTorch workloads across multiple schedulers or want to unify job submission across development and production environments. The active maintenance, permissive license, low install friction, and zero known vulnerabilities make it safe to adopt. Install with caution if you rely on Ray or GCP Batch support, which are marked as prototype; for stable schedulers (Kubernetes, Slurm, AWS Batch, Docker, Local), it's a solid choice.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7+; PyTorch must be installed separately; scheduler-specific requirements vary (e.g., Docker for docker-based schedulers, kubectl for Kubernetes).
- Low install friction with a pure-Python wheel and nine runtime dependencies.
- Active maintenance with recent commits; last release was over a year ago but the repository remains actively developed.
License · maintenance · safety
BSD-3 (permissive) — BSD-3 permissive license means you can use, modify, and distribute TorchX with minimal restrictions in both open-source and commercial projects.
last release 2024-07-16 (759 days) · last repo commit 2026-08-14 · 428 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 251,355 downloads/mo, #8,586 on PyPI
Alternatives
Verify before relying
pip install torchx
import torchx
from torchx.specs import python_app
app = python_app(name="my_job", image="pytorch:latest")- Whether the package actively supports all listed schedulers (Kubernetes, Slurm, AWS Batch, Docker, Local, Ray, GCP Batch) or if some are in prototype/limited status.
- Current state of Ray and GCP Batch support, which are marked as prototype in the description.
- Whether optional dependencies (kfp, kubernetes, ray, gcp_batch) are automatically installed or require explicit extras.
What it is and what it does
TorchX is a job launcher that abstracts away scheduler differences, letting you write PyTorch training code once and deploy it to Kubernetes, Slurm, AWS Batch, Docker, or local machines without rewriting. It's built for both rapid iteration during research and production ML pipeline orchestration. The package provides a Python SDK and CLI interface, with nine runtime dependencies including docker, pyyaml, fsspec, and tabulate for configuration, container management, and output formatting.
The project is actively maintained by the PyTorch team, supports Python 3.7+, and comes with optional extras for specialized schedulers (Kubernetes, Ray, GCP Batch, Kubeflow Pipelines). It's positioned as a bridge between local development and production deployment, reducing friction when moving workloads across different compute environments.
Use it for
- Submit PyTorch training jobs to Kubernetes clusters without learning cluster-specific deployment syntax.
- Run the same training script on Slurm HPC systems, AWS Batch, or local Docker without code changes.
- Build end-to-end ML pipelines that orchestrate multiple training and preprocessing steps across schedulers.
- Rapidly iterate on model training locally, then scale to production Kubernetes without rewriting job definitions.
- Manage distributed training across multiple machines using a unified CLI and Python API.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to run PyTorch workloads across multiple schedulers or want to unify job submission across development and production environments.
The active maintenance, permissive license, low install friction, and zero known vulnerabilities make it safe to adopt. Install with caution if you rely on Ray or GCP Batch support, which are marked as prototype; for stable schedulers (Kubernetes, Slurm, AWS Batch, Docker, Local), it's a solid choice.
Install
torchx on PyPI
Before you install
Low install friction with a pure-Python wheel and nine runtime dependencies. Active maintenance with recent commits; last release was over a year ago but the repository remains actively developed.
Requires Python 3.7+; PyTorch must be installed separately; scheduler-specific requirements vary (e.g., Docker for docker-based schedulers, kubectl for Kubernetes).
License in practice
BSD-3 permissive license means you can use, modify, and distribute TorchX with minimal restrictions in both open-source and commercial projects.
Quickstart
pip install torchx
import torchx
from torchx.specs import python_app
app = python_app(name="my_job", image="pytorch:latest")
Verify before relying
- Whether the package actively supports all listed schedulers (Kubernetes, Slurm, AWS Batch, Docker, Local, Ray, GCP Batch) or if some are in prototype/limited status.
- Current state of Ray and GCP Batch support, which are marked as prototype in the description.
- Whether optional dependencies (kfp, kubernetes, ray, gcp_batch) are automatically installed or require explicit extras.
Package facts
| License | BSD-3 permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 9 packagespyre-extensionsdocstring-parserimportlib-metadatapyyamldockerfilelockfsspecurllib3tabulate |
| Maintenance | Actively maintained 759 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 251,355 / month, #8,586 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.8Topic :: Scientific/Engineering :: Artificial Intelligence |
Evidence: torchx-0.7.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pytorch job launcher”
- torchxTorchX is a universal job launcher that submits PyTorch training and…
- dora-searchDora is an experiment launching and management tool for machine…
- torchrunxtorchrunx distributes PyTorch training functions across multiple GPUs…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also torchft-nightly · gen-worker · metaflow-torchrun · hydra-submitit-launcher · torchrunx · torchtitan · skypilot-nightly · torchrl · aws-parallelcluster · pulsar-galaxy-lib