Skip to main content

xcl-lens

RCCL/NCCL log parser and analyzer.

Installation

From PyPI

pipx install xcl-lens

Using uv

uv tool install xcl-lens

Using pip

pip install xcl-lens

From Source

Using pipx

pipx install .

Using uv

# Install in editable mode
uv pip install -e .

# Or using uv's native install
uv tool install .

Using pip

pip install -e .

Usage

Process Existing Files

xcl-lens rccl-log.txt
xcl-lens --summary rccl.*.log

When multiple files are supplied, each file must contain a communicator Init START identity and the files must collectively form one complete (commId, nranks) global-rank set. Ambiguous, incomplete, or duplicate inputs are rejected with diagnostics instead of being silently merged. Automatic detection of mixed stdout requires the rccl-tests rank table to establish trusted process identities.

Process stdin

cat rccl-log.txt | xcl-lens

Options

  • --summary suppresses the raw log.
  • -v extends summary reports.
  • --hosts filters entries by hostname.
  • --prefix-ranks filters the numeric [n] field in RCCL/NCCL log prefixes. It does not select communicator global ranks.

Development

make setup    # Set up development environment
make format   # Auto-fix and format code (ruff)
make lint     # Check code style and errors (ruff)
make test     # Run all unit tests (pytest)
make build    # Build wheel and sdist into dist/
make clean    # Remove build caches and the virtual environment

Metadata

Release files for xcl-lens 0.3.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 xcl-lens 0.3.0
File Size Uploaded
xcl_lens-0.3.0.tar.gz 55.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xcl-lens 0.3.0
File Interpreter ABI Platform
xcl_lens-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 71.8 kB

Release files / xcl_lens-0.3.0.tar.gz

Download URL xcl_lens-0.3.0.tar.gz
Size 55.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4625ce85156d0bbe075afeefcdc36d347b32029d4ba963f5c57bfedde86c031f
BLAKE2b-256 checksum
How to use checksums
fff67310cb830c24a7b9adf80a964ec0d1d8e8f12c73130e6bb1f598defa8685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release files / xcl_lens-0.3.0-py3-none-any.whl

Download URL xcl_lens-0.3.0-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4deaea019fa0000e5cb7c7ab16539cf1e95e2ced0cae2537acc62e4d25f1959a
BLAKE2b-256 checksum
How to use checksums
8ed247c0193a76641faa1dafb045d0a45e109f0fb3146fe37b7e21eddfe320cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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