pytorch/.ci/lumen_cli
dependabot[bot] cf7756da38
Bump uv from 0.9.5 to 0.9.6 in /.ci/lumen_cli (#166578)
Bumps [uv](https://github.com/astral-sh/uv) from 0.9.5 to 0.9.6.
- [Release notes](https://github.com/astral-sh/uv/releases)
- [Changelog](https://github.com/astral-sh/uv/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/uv/compare/0.9.5...0.9.6)

---
updated-dependencies:
- dependency-name: uv
  dependency-version: 0.9.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-29 18:28:14 -07:00
..
cli Enable all flake8-logging-format rules (#164655) 2025-10-19 00:59:28 +00:00
tests enable more tests (#161192) 2025-08-23 06:01:22 +00:00
pyproject.toml Bump uv from 0.9.5 to 0.9.6 in /.ci/lumen_cli (#166578) 2025-10-29 18:28:14 -07:00
README.md

🔧 Lumen_cli

A Python CLI tool for building and testing PyTorch-based components, using a YAML configuration file for structured, repeatable workflows.

Features

  • Build
    • external projects (e.g. vLLM)

📦 Installation

at the root of the pytorch repo

pip install -e .ci/lumen_cli

Run the cli tool

The cli tool must be used at root of pytorch repo, as example to run build external vllm:

python -m cli.run build external vllm

this will run the build steps with default behaviour for vllm project.

to see help messages, run

python3 -m cli.run --help

Add customized external build logics

To add a new external build, for instance, add a new external build logics:

  1. create the build function in cli/lib folder
  2. register your target and the main build function at EXTERNAL_BUILD_TARGET_DISPATCH in cli/build_cli/register_build.py
  3. [optional] create your ci config file in .github/ci_configs/${EXTERNAL_PACKAGE_NAME}.yaml