Skip to content

[Benchmark] add benchmark for grpo_loss kernel#1216

Open
UserChen666 wants to merge 4 commits into
linkedin:mainfrom
UserChen666:benchmark_grpo
Open

[Benchmark] add benchmark for grpo_loss kernel#1216
UserChen666 wants to merge 4 commits into
linkedin:mainfrom
UserChen666:benchmark_grpo

Conversation

@UserChen666
Copy link
Copy Markdown
Contributor

@UserChen666 UserChen666 commented May 7, 2026

Summary

The original benchmar_grpo_loss.py is aiming to test chunked_loss/grpo_loss.py, so this Pr wants to add benchmark for ops/grpo_loss.py or some other grpo_loss kernels like _ascend/ops/grpo_loss.py.

Testing Done

image
  • Hardware Type: Atlas A800I
  • run make test to ensure correctness
  • run make checkstyle to ensure code style
  • run make test-convergence to ensure convergence

@UserChen666 UserChen666 changed the title add benchmark for grpo_loss kernel [npu] add benchmark for grpo_loss kernel May 9, 2026
@UserChen666 UserChen666 changed the title [npu] add benchmark for grpo_loss kernel [NPU] add benchmark for grpo_loss kernel May 9, 2026
@UserChen666 UserChen666 changed the title [NPU] add benchmark for grpo_loss kernel [Benchmark] add benchmark for grpo_loss kernel May 9, 2026
@UserChen666
Copy link
Copy Markdown
Contributor Author

@Tcc0403 could you please review this pr?

@Tcc0403
Copy link
Copy Markdown
Collaborator

Tcc0403 commented May 12, 2026

We have an update on benchmark suite, please follow the latest https://github.com/linkedin/Liger-Kernel/blob/main/benchmark/README.md to ensure everything is up-to-date

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.

2 participants