Skip to content

nemo-relay: add build-nemo-relay.yml for riscv64 wheels - #993

Open
luhenry wants to merge 1 commit into
mainfrom
nemo-relay
Open

nemo-relay: add build-nemo-relay.yml for riscv64 wheels#993
luhenry wants to merge 1 commit into
mainfrom
nemo-relay

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Python bindings (pyo3/maturin) for NVIDIA's NeMo Relay agent runtime, a Rust core also exposed to Node.js and Go. Upstream publishes no riscv64 wheel.

Mirrors the Package/PackageSmoke jobs of upstream's ci_python.yml.

Differs from upstream

  • Cargo.toml workspace version bumped to the release tag before building - dynamic version resolves from it and trails the tag between releases
  • protoc comes from Rocky 10's CRB repo, not upstream's protoc-bin-vendored crate - it ships no riscv64 binary
  • musllinux dropped - rustup.rs ships no riscv64 musl toolchain

Matrix: cp311/cp312/cp313/cp314 - pyo3's abi3-py311 sets the floor; no cp314t (upstream builds no free-threaded wheel either)

Testing

  • runs upstream's own python/tests suite against the wheel (529 tests) instead of upstream's import-only wheel smoke
  • python/tests/plugin, python/tests/integrations, and test_dynamic_plugin_host.py excluded - out-of-process gRPC plugin workers and optional framework extras are out of scope for a wheel-level smoke of the compiled extension

License: OK

Patches

  • 0001-worker-proto-fall-back-to-prost-build-s-own-protoc-l.patch - Inappropriate. Without it, crates/worker-proto's build script aborts on riscv64 since protoc-bin-vendored has no binary for it; reproduces on riscv64 only.

Dry-run validated locally against the released macOS wheel: 529 passed, 0 skipped.

Rust/maturin/pyo3 abi3-py311 project (agent runtime bindings). Patches
crates/worker-proto/build.rs to fall back to prost-build's own protoc
lookup, since protoc-bin-vendored ships no riscv64 binary; Rocky 10's
CRB repo supplies protoc 3.19 in the manylinux_riscv64 image instead.
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