Repository navigation
ai-dynamo-runtime: Add version 1.5.1 - #3122
Merged
Merged
Conversation
luhenry
added a commit
that referenced
this pull request
Oct 13, 2026
The bindings test directory also holds tests for the separate ai-dynamo package: tests/replay/ and test_deprecated_enable_nats.py import dynamo.mocker, dynamo.replay and dynamo.common, which ship in ai-dynamo (components/src/dynamo), not in ai-dynamo-runtime. Upstream runs them in an image with both installed; here they fail collection and abort the whole session. Ignore them. dynamo.nixl_connect hard-imports torch, which upstream's test image provides, so test_nixl_connect_lazy_import.py errors at fixture setup without it. Install torch (riscv64 wheels are on pypi.riseproject.dev).
The default python-exclude no longer drops cp310, so the abi3 wheel is now tested on its cp310 floor. torch has no cp310 riscv64 wheel on either pypi.riseproject.dev or PyPI (2.15.0 starts at cp311), so the test-deps install failed to resolve. Install torch only on Python >= 3.11 and, where it is absent, ignore test_nixl_connect_lazy_import.py, the only module that needs it, so the rest of the suite still runs on cp310. Also drop the duplicated "cp" prefix from the test job name.
…ersions pytest 9.2.0 applies upstream's filterwarnings = ["error"] during pytest_configure, so pytest-asyncio's deprecation warning about the unset asyncio_default_fixture_loop_scope becomes an INTERNALERROR. Pin to the versions from upstream's container/deps/requirements.test.txt (pytest 9.0.3, pytest-asyncio 1.3.0) rather than setting the loop scope, which would break the module-scoped async fixtures in the selected tests.
…vailable test_nixl_connect_unit.py imports dynamo.nixl_connect, same as test_nixl_connect_lazy_import.py, so it also needs torch at import time. It carries no hardware marker of its own, so the root conftest's default-marking makes it match "pre_merge and gpu_0" and run on cp310, where no riscv64 torch wheel exists, failing at setup with ModuleNotFoundError. Broaden the existing torch-unavailable ignore from the single lazy_import file to both nixl_connect test files.
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.
ai-dynamo-runtime1.5.1Compiles Dynamo's Rust runtime (
dynamo._core, pyo3 abi3) - the CPU-side request plane, KV router and discovery, with CUDA loaded only at runtime and NIXL stubbed exactly as upstream's own wheel is. Upstream publishes no riscv64 wheel.Mirrors the
runtime_wheel_builderstage of upstream'swheel_builder.Dockerfile, same maturin features.Differs from upstream
manylinux_2_39_riscv64image instead ofmanylinux_2_28Matrix: one abi3 wheel; tested on 3.12/3.13/3.14 (no cp314t: abi3 and pydantic-core).
Testing
pre_merge and gpu_0)test_kserve_grpc.pyignored - needstritonclient[grpc], which upstream gets from framework imagesLicense: Wheel bundles third-party Rust crate licences, generated by upstream's own
bundle_wheel_noticesstep.Patches
0001-bindings-use-nixl-sys-stub-api-on-riscv64.patch- Inappropriate [nixl-sysget_arch()panics on riscv64 before its stub fallback; real fix belongs in ai-dynamo/nixl]. Riscv64-only.Built on cp312.