MiroPsota/torch_packages_builder

Builder and index for PyTorch packages

What it solves

It simplifies the process of building and distributing PyTorch-based packages that contain custom operators. These packages often require specific hardware architectures and PyTorch versions to work, making them difficult to compile and host for general users.

How it works

The project provides two automated GitHub workflows: one that compiles PyTorch packages with custom ops across various architectures and publishes them as wheels to GitHub releases; another that creates a PEP 503 compliant package index hosted on GitHub Pages, allowing users to install these pre-built binaries via pip install --extra-index-url.

Who it’s for

Developers and researchers who need to install PyTorch extensions with custom operators without having to compile them from source locally.

Highlights

  • Automated building of PyTorch packages with custom ops.
  • PEP 503 compliant package index for easy pip integration.
  • Support for multiple compute platforms including CPU, CUDA, and ROCm.
  • Use of build attestation to establish provenance for wheels.

Related

  • Project
  • Project
  • Project
  • Project
  • Dispatch