-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[https://nvbugs/6567554][fix] Mirror KVCacheManagerV2.max_blocks_per_seq arithmetic in the harness budget…
#17373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -164,7 +164,9 @@ def comma_separated_floats(s): | |
| if args.max_num_tokens is None: | ||
| args.max_num_tokens = args.max_batch_size * max(args.seq_len_q_list) | ||
| if args.moe_backend_for_prefill is None: | ||
| args.moe_backend_for_prefill = "CUTLASS" | ||
| # Let prefill resolve like decode when decode is AUTO; the "CUTLASS" default cannot | ||
| # serve every checkpoint (see README limitations). | ||
| args.moe_backend_for_prefill = "AUTO" if args.moe_backend == "AUTO" else "CUTLASS" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win Do not overwrite an explicitly selected prefill backend. Line 140 always replaces Proposed fix- args.moe_backend_for_prefill = "AUTO" if args.moe_backend == "AUTO" else "CUTLASS"
+ if args.moe_backend_for_prefill is None:
+ args.moe_backend_for_prefill = (
+ "AUTO" if args.moe_backend == "AUTO" else "CUTLASS"
+ )🤖 Prompt for AI Agents |
||
| if args.use_low_precision_moe_combine is None: | ||
| args.use_low_precision_moe_combine = False | ||
| if args.enable_autotuner is None: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only propagates the
AUTOcase.--moe-backend DEEPGEMM(orWIDEEP) alone still leaves prefill onCUTLASS, which is the exact FP8-on-Blackwell failure the README limitation describes — so the documented workaround still requires passing both flags. Since--moe-backend-for-prefillalready restricts choices, defaulting toargs.moe_backendwhen it's one of the supported prefill backends, andCUTLASSotherwise, would cover all of them:If mirroring more broadly is deliberately out of scope, say so in the comment.