Skip to content

[NPU]:Add support for the grpo_loss operator.#1142

Closed
TianHao324 wants to merge 1 commit intolinkedin:mainfrom
TianHao324:grpo
Closed

[NPU]:Add support for the grpo_loss operator.#1142
TianHao324 wants to merge 1 commit intolinkedin:mainfrom
TianHao324:grpo

Conversation

@TianHao324
Copy link
Copy Markdown
Contributor

Summary

To address the ub overflow issue in the benchmark, we have added an operator with a NPU-friendly implementation of grpo_loss.

  • Memory-Aware Block Size
  • NPU Core-Aware Grid Sizing

Testing Done

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

@TianHao324
Copy link
Copy Markdown
Contributor Author

@Tcc0403 would you mind having a preview?

@zheliuyu
Copy link
Copy Markdown
Contributor

zheliuyu commented Mar 12, 2026

@TianHao324 Does this duplicate the functionality of #1121?

@TianHao324
Copy link
Copy Markdown
Contributor Author

@TianHao324 Does this duplicate the functionality of #1121?

Sorry, I didn't see this PR. I will close mine.

@TianHao324 TianHao324 closed this Mar 12, 2026
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