Support for prepared transfer API in nixlbench - #1713
Conversation
|
👋 Hi iyastreb! Thank you for contributing to ai-dynamo/nixl. Your PR reviewers will review your contribution then trigger the CI to test your changes. 🚀 |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughAdds a new ChangesPrepared transfer descriptor configuration and implementation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/build |
|
/build |
benlwalker
left a comment
There was a problem hiding this comment.
--prepped_xfer is missing from the option list in benchmark/nixlbench/README.md. Document it there, including how it behaves under --recreate_xfer (prep re-runs each iteration).
|
I think |
ok |
|
👀 Investigating |
|
🤖 CI Triage Agent — I have a clear and complete picture of the failure. Here is the full diagnosis: Summary: Clang Format Check failed on PR #1713 due to a line that is too long in Root cause: A newly added NB_ARG_BOOL(prepared_xfer, false, "Use prepared transfer API (prepare+make), incompatible with reregister_mem");But clang-format requires it to be split as: NB_ARG_BOOL(prepared_xfer,
false,
"Use prepared transfer API (prepare+make), incompatible with reregister_mem");This is exactly what Implicated commit: File: Suggested fix: In NB_ARG_BOOL(prepared_xfer,
false,
"Use prepared transfer API (prepare+make), incompatible with reregister_mem");You can also run Related: PR #1713 (
|
|
👀 Investigating |
|
🤖 CI Triage Agent — The log confirms exactly what happened. The Summary: Clang Format Check failed because a newly added Root cause: Commit // BEFORE (what was committed — fails clang-format check):
NB_ARG_BOOL(prepared_xfer, false, "Use prepared transfer API (prepare+make), incompatible with reregister_mem");
// AFTER (what clang-format-19 requires):
NB_ARG_BOOL(prepared_xfer,
false,
"Use prepared transfer API (prepare+make), incompatible with reregister_mem");The line is too long for the project's column limit. The adjacent Implicated commit: File: Suggested fix: Replace the single-line macro call with the split form that NB_ARG_BOOL(prepared_xfer,
false,
"Use prepared transfer API (prepare+make), incompatible with reregister_mem");The fastest way to apply this is to run # From repo root, reformat the changed files:
git diff HEAD^1 HEAD -- benchmark/nixlbench/src/utils/utils.cpp \
| clang-format-diff-19 -p1 -style=file -i
git add benchmark/nixlbench/src/utils/utils.cpp
git commit --amend --no-editRelated: PR #1713 —
|
|
/build |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@benchmark/nixlbench/src/utils/utils.cpp`:
- Line 89: The NB_ARG_BOOL macro invocation for prepared_xfer exceeds the column
limit; reformat it by breaking the arguments onto multiple lines (similar to
adjacent macros) so each parameter is on its own line: keep
NB_ARG_BOOL(prepared_xfer, on the first line, then split false, and the string
"Use prepared transfer API (prepare+make), incompatible with reregister_mem"
onto subsequent lines, aligning commas and closing parenthesis to match
surrounding style and satisfy clang-format.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: da667c90-590e-42cd-a97c-7a8e8b96f4d1
📒 Files selected for processing (3)
benchmark/nixlbench/src/utils/utils.cppbenchmark/nixlbench/src/utils/utils.hbenchmark/nixlbench/src/worker/nixl/nixl_worker.cpp
|
👀 Investigating |
|
🤖 CI Triage Agent — I now have all the evidence needed for a complete diagnosis. Let me compile the findings. Summary: AWS Batch job failed immediately because the Root cause: The build script The root issue is a transient external network failure (GitHub CDN 504) combined with an insufficient retry strategy ( Implicated commit: File: Suggested fix:
Related: None — no open issues or PRs match this specific CDN 504 failure pattern.
|
|
/build |
What?
Added
--prepared_xferoption to nixlbenchWhy?
To be able to execute make+prep NIXL API in nixlbench. Currently this API is used by several LLMs, so we need this path to be profiled in NIXL
Summary by CodeRabbit
New Features
Configuration
Stability