Rust PyO3 renderer port and native performance paths#2
Open
ThomAub wants to merge 35 commits into
Open
Conversation
Owner
Author
|
Completion audit passed for the native runtime performance pass. Evidence:
Measured long-history direct
Focused family geomeans from the matched benchmark run:
|
f048690 to
23d82c3
Compare
Owner
Author
|
Keep in mind PrimeIntellect-ai#70 |
Owner
Author
|
Bench:
|
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.
Summary
Verification
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --lockedcargo test --workspaceuv run ruff check examples/sglang/multiturn_generate_sglang.py examples/sglang/online_multiturn_sglang.py examples/vllm/multiturn_generate_vllm.py benchmarks/native_vs_python_qwen3.py tests/test_native_numpy.pyuv run ruff format --check examples/sglang/multiturn_generate_sglang.py examples/sglang/online_multiturn_sglang.py examples/vllm/multiturn_generate_vllm.py benchmarks/native_vs_python_qwen3.py tests/test_native_numpy.pyuv run maturin develop --manifest-path crates/renderers-py/Cargo.toml --releaseuv run pytest -m parity tests/test_native_parity.py -q -rsenv RENDERERS_NATIVE=all uv run pytest tests/test_render_ids.py tests/test_bridge.py tests/test_roundtrip.py tests/test_message_indices.py tests/test_native_router.py tests/test_native_vision.py tests/test_native_numpy.py -q -rsBenchmark Artifacts
/private/tmp/renderers-native-tokenplan-family-smoke-002.json/private/tmp/renderers-native-tokenplan-family-smoke-002.md