Skip to main content

RCCL/NCCL log parser and analyzer

Project description

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 cat rccl-log.txt

Verbose Mode

By default, only the report is printed. Use -v or --verbose to also print raw log lines:

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xcl_lens-0.1.2.tar.gz (42.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xcl_lens-0.1.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file xcl_lens-0.1.2.tar.gz.

File metadata

  • Download URL: xcl_lens-0.1.2.tar.gz
  • Upload date:
  • Size: 42.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xcl_lens-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2e6d0f4bb46a6fa4f4f070ed22fc7440d5a88ee197f73f32c9e19e91c9ecfc35
MD5 5c830b800c7546539fc5e5d959b774bc
BLAKE2b-256 136abb7795c7ae9117be34a476929a08cd994b2f590e8436ed8fa3e269a07228

See more details on using hashes here.

Provenance

The following attestation bundles were made for xcl_lens-0.1.2.tar.gz:

Publisher: xcl-lens-publish.yml on alephpiece/hg-misc-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xcl_lens-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: xcl_lens-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xcl_lens-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2359fb6d683c5e20371800ca8e287d289d2a94b7505ea7ecdb6e4304aa342dba
MD5 06e51edb17f257eeff399e0d31d00f7d
BLAKE2b-256 ab6cdfe4ca4a6b92112b37d1746cbc83c3238f188a70e1fd33d3cfff4f4f6fdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for xcl_lens-0.1.2-py3-none-any.whl:

Publisher: xcl-lens-publish.yml on alephpiece/hg-misc-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page