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 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

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.7.tar.gz (45.7 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.7-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xcl_lens-0.1.7.tar.gz
  • Upload date:
  • Size: 45.7 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.7.tar.gz
Algorithm Hash digest
SHA256 a696652864be91f30f3942bc1e6a79db5a7f158ac82b03a1465eb49ce8cde2ce
MD5 6fbe5334cfc94d39c036a146e9634f24
BLAKE2b-256 e3f9b9e271396ac23a038d9c28822575e1c30e64237094b0d0e0d4bd434e19c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for xcl_lens-0.1.7.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.7-py3-none-any.whl.

File metadata

  • Download URL: xcl_lens-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 9.9 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a4f9192396508f46f6c9aeace958cf9755e4c18de8654ad58df61ed1d1794eea
MD5 52ea34151072528963af0df211132567
BLAKE2b-256 1d34d0ef23c71232217616e310704d6e0291007b2cfd1e8c36cf2857e1f446b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for xcl_lens-0.1.7-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