nemo-relay: add build-nemo-relay.yml for riscv64 wheels - #993
Open
luhenry wants to merge 1 commit into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
nemo-relay0.8.4Python 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/PackageSmokejobs of upstream'sci_python.yml.Differs from upstream
protoc-bin-vendoredcrate - it ships no riscv64 binaryMatrix: cp311/cp312/cp313/cp314 - pyo3's
abi3-py311sets the floor; no cp314t (upstream builds no free-threaded wheel either)Testing
python/testssuite against the wheel (529 tests) instead of upstream's import-only wheel smokepython/tests/plugin,python/tests/integrations, andtest_dynamic_plugin_host.pyexcluded - out-of-process gRPC plugin workers and optional framework extras are out of scope for a wheel-level smoke of the compiled extensionLicense: 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 sinceprotoc-bin-vendoredhas no binary for it; reproduces on riscv64 only.Dry-run validated locally against the released macOS wheel: 529 passed, 0 skipped.