Skip to content

fix: remove noisy RDNA2 GEMV variant eprintln#532

Open
rakaarwaky wants to merge 1 commit into
Kaden-Schutt:masterfrom
rakaarwaky:fix/remove-rdna2-gemv-spam
Open

fix: remove noisy RDNA2 GEMV variant eprintln#532
rakaarwaky wants to merge 1 commit into
Kaden-Schutt:masterfrom
rakaarwaky:fix/remove-rdna2-gemv-spam

Conversation

@rakaarwaky

Copy link
Copy Markdown

Summary

Removes the eprintln!(" RDNA2 GEMV variant: v{variant} ({name})") call in gemv_hfq4g256_for_arch (crates/rdna-compute/src/kernels.rs).

Problem

On RDNA2 (gfx1030/gfx1031), every GEMV kernel selection prints this line to stderr:

RDNA2 GEMV variant: v1 (baseline-rdna2)

Since a single decode step involves many GEMV calls, this produces hundreds of identical spam lines in serve.log and hipfire bench output. The variant information is not actionable for users — it's only useful for kernel developers who can check the variant via HIPFIRE_RDNA2_VARIANT env var or the pre-compiled cache directory name.

Testing

  • Verified the eprintln! string no longer appears in the compiled binary via strings
  • Tested hipfire bench qwen3.6-35b-a3b.mq2 — no more RDNA2 GEMV variant spam in output

Closes #531

The eprintln!("  RDNA2 GEMV variant: v{variant} ({name})") fires on
every GEMV kernel selection for gfx1030/gfx1031 (RDNA2), producing
hundreds of identical lines in serve.log and bench output. Remove it
— the variant info is already available via HIPFIRE_RDNA2_VARIANT env
var and the pre-compiled kernel cache directory name.
Kaden-Schutt pushed a commit that referenced this pull request Jul 18, 2026
Extract the intended delta from PR #532 onto the protected beta-derived branch. Remove the logging-only variant-name table along with the per-dispatch stderr line so the fix does not introduce new unused-variable warnings.
Kaden-Schutt pushed a commit that referenced this pull request Jul 21, 2026
Extract the intended delta from PR #532 onto the protected beta-derived branch. Remove the logging-only variant-name table along with the per-dispatch stderr line so the fix does not introduce new unused-variable warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove noisy 'RDNA2 GEMV variant' eprintln from gemv_hfq4g256_for_arch

1 participant