Skip to main content

xcl-lens

RCCL/NCCL log parser and analyzer.

Installation

From PyPI

Using pipx (recommended for CLI use)

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

As a Wrapper

mpirun -np 4 xcl-lens \
    ./build/all_reduce_perf -b 4 -e 2G -f 2 -w 3 -n 3 -g 1

Process an Existing File

xcl-lens rccl-log.txt
cat rccl-log.txt | xcl-lens

Options

--summary is used to suppress the raw log. -v is used to extend summary reports.

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.2.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.2.0
File Size Uploaded
xcl_lens-0.2.0.tar.gz 48.9 kB Details

Built distribution (wheel)

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

Total release size: 61.0 kB

Release files / xcl_lens-0.2.0.tar.gz

Download URL xcl_lens-0.2.0.tar.gz
Size 48.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3cd15a6529081fb5a5f8c13dfaa434dc6092a3ccadd79bcccfd1cfa9d79de195
BLAKE2b-256 checksum
How to use checksums
8b29c7fba122057e28c5abdfabf7e8dc5adc9a424c7c7f1b90ecbe8473115af1
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.2.0-py3-none-any.whl

Download URL xcl_lens-0.2.0-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb5519fb6a1100b4614acbffc45aa08e6865b0b547249c1a3d43d34b253086db
BLAKE2b-256 checksum
How to use checksums
f279cfa9d55cf9fbda9f195e26ec8a29de033dc0c4da3712d3427622c075868d
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

0.3.0

2 release files

This release

0.2.0 This release

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