Skip to content

[Bugfix][benchmarks]: fix VRAM baseline and add TRL comparison - #79

Merged
Flink-ddd merged 1 commit into
mainfrom
fix/benchmarks
Jun 4, 2026
Merged

Flink-ddd merged 1 commit into
mainfrom
fix/benchmarks

Conversation

@Flink-ddd

Copy link
Copy Markdown
Collaborator

Fixes #78

Two benchmark measurement issues fixed:

  1. benchmark_grpo_op.py: VRAM baseline was recorded before input tensor allocation, causing RL-Kernel to appear higher than native. Now measures extra overhead above input tensors only. Also adds TRL selective_log_softmax as a third comparison column.

  2. benchmark_sampling.py: Fixed FlashInfer API compatibility (sampling_from_logits removed in v0.2.5, replaced with top_k_renorm_probs + top_p_sampling_from_probs).

@Flink-ddd Flink-ddd added the component: testing Add test cases and benchmark-related tasks label Jun 4, 2026
@Flink-ddd
Flink-ddd merged commit 745ee77 into main Jun 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: testing Add test cases and benchmark-related tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG][benchmarks]: benchmark_grpo_op and benchmark_sampling produce incorrect measurements due to flawed VRAM baseline and missing TRL comparison

1 participant