Repository navigation
Merge CTPerf into NIXLKVBench - #433
Merged
Merged
Conversation
|
👋 Hi aranadive! Thank you for contributing to ai-dynamo/nixl. Your PR reviewers will review your contribution then trigger the CI to test your changes. 🚀 |
Contributor
|
I have updated the CT perftest files with the latest working version @aranadive For my part, it is ready to be merged |
aranadive
marked this pull request as ready for review
June 27, 2025 09:17
Contributor
Author
|
/ok to test d912d04 |
Contributor
Author
|
/build |
Contributor
Author
|
/build |
Contributor
Author
|
/build |
Contributor
Author
|
/ok to test b5608aa |
aranadive
force-pushed
the
merge_ctperf_kvbench
branch
from
July 3, 2025 05:46
b5608aa to
4db2ff0
Compare
Contributor
Author
|
/build |
Contributor
Author
|
/ok to test 4db2ff0 |
Add workload perftest to NIXL KVBench
Contributor
|
/build |
Contributor
|
/ok to test 4dd3d2c |
1 similar comment
Contributor
|
/ok to test 4dd3d2c |
Contributor
|
/build |
Contributor
|
/ok to test 4dd3d2c |
karya0
approved these changes
Jul 3, 2025
1 task
This branch was previously deployed
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.
(This is essentially extending the NIXLKVBench benchmark to cover KV Cache transfers over network which was being added separately in #263). Fixes NIX-144.
NIXL KVBench
NIXL KVBench is a benchmarking utility for testing KVCache transfers in large language models (LLMs) using the NIXL runtime. It supports various model architectures, parallelism strategies, and custom traffic simulation for asymmetric workloads.
🚀 Features
🔧 KVBench Commands
Benchmark KVCache transfers with support for:
nixlbenchCommands:
plan: Generate recommendednixlbenchcommand configsprofile: Run actual benchmarkskvcache,io-size: Inspect model memory/transfer characteristics📶 CTP (Custom Traffic Performance)
Simulate and analyze asymmetric data transfers using traffic matrices:
✅ Supported Architectures
🧪 Example: KVBench Profile
Run benchmark for DeepSeek R1 with block access pattern:
python main.py profile \ --model ./examples/model_deepseek_r1.yaml \ --model_config ./examples/block-tp1-pp8.yaml \ --backend GDS \ --source gpu \ --etcd-endpoints "http://localhost:2379" nixlbench \ --backend GDS \ --source gpu \ --etcd-endpoints http://localhost:2379 \ --max_batch_size 5958 \ --start_batch_size 5958 \ --max_block_size 589824 \ --start_block_size 589824 \ --target_seg_type VRAM🧪 Example: CTP Sequential Test
⚙️ Getting Started
📚 Documentation