Skip to content

perf-analyzer: Add version 2.60.0 - #2350

Open
luhenry wants to merge 2 commits into
mainfrom
perf-analyzer
Open

luhenry wants to merge 2 commits into
mainfrom
perf-analyzer

Conversation

@luhenry

@luhenry luhenry commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Compiles the Triton Performance Analyzer CLI (C++, with gRPC, protobuf, abseil and curl built from source) and ships it in a py3-none wheel. Upstream publishes no riscv64 wheel.

Mirrors upstream's documented source build; upstream's wheel job runs in NVIDIA's internal CI.

Differs from upstream

  • Built from the r26.04 head commit - no tags; it is the commit the PyPI binary reports
  • TRITON_ENABLE_GPU=OFF - CUDA does not exist on riscv64; drops CUDA shared memory only
  • RapidJSON built from a pinned commit - Rocky 10 does not package it, and 1.1.0 fails with GCC 14
  • -DABSL_USE_UNSCALED_CYCLECLOCK=0 - abseil's riscv64 rdcycle traps on Linux 6.6+ (unscaledcycleclock: remove RISC-V support abseil/abseil-cpp#1644)

Testing

  • runs upstream's perf_analyzer_unit_tests, then perf_analyzer --version from the installed wheel on each interpreter
  • skips the invalid json subcase - it asserts RapidJSON 1.1.0's error code, which later RapidJSON changed

License: Wheel statically links gRPC, abseil (Apache-2.0), protobuf, re2 (BSD-3-Clause), c-ares (MIT), curl (curl) and libb64, and bundles OpenSSL (Apache-2.0); upstream ships no licence text for them, so the build adds it.

Patches

  • 0001-forward-third-party-repo-tag.patch - To upstream [not submitted yet]. Without it the release branch builds against third_party main (gRPC 1.81.1 instead of 1.54.3). Not riscv64-specific.

First run: 145 of 146 unit-test cases passed on riscv64.

Build the Triton Performance Analyzer CLI from the r26.04 head of
triton-inference-server/perf_analyzer (the commit the PyPI 2.60.0 binary
reports) without CUDA, and package it with the repo's own pyproject.toml
as a py3-none-manylinux_2_39_riscv64 wheel.
luhenry added a commit that referenced this pull request Sep 26, 2026
@github-actions

github-actions Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://riseproject-dev.github.io/python-wheels/pr-preview/pr-2350/

Built to branch gh-pages at 2026-09-26 06:21 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

The unit test asserts RapidJSON 1.1.0's error code for an unescaped
control character (kParseErrorStringEscapeInvalid, 10); RapidJSON after
Tencent/rapidjson@85500e8 reports kParseErrorStringInvalidEncoding (12),
and 1.1.0 itself does not compile with GCC 14.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant