Skip to content

[Fix, NPU] Set soc_info for the NPU device#1149

Open
zheliuyu wants to merge 1 commit intolinkedin:mainfrom
pt-ecosystem:main
Open

[Fix, NPU] Set soc_info for the NPU device#1149
zheliuyu wants to merge 1 commit intolinkedin:mainfrom
pt-ecosystem:main

Conversation

@zheliuyu
Copy link
Contributor

@zheliuyu zheliuyu commented Mar 14, 2026

Summary

With the teb update, the soc version must be explicitly set in set_current_compile_soc_info for get_soc_spec to return the correct UB_SIZE.

Testing Done

【WIP】Please hold off on merging this PR. I need to test it on a few NPUs with different soc versions.

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

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.

1 participant