Skip to content

Fix causal_conv1d and CANN 9.1.0 build for A5 - #642

Open
Pairman wants to merge 4 commits into
sgl-project:mainfrom
Pairman:cann9.1.0_build_fix
Open

Fix causal_conv1d and CANN 9.1.0 build for A5#642
Pairman wants to merge 4 commits into
sgl-project:mainfrom
Pairman:cann9.1.0_build_fix

Conversation

@Pairman

@Pairman Pairman commented Jul 31, 2026

Copy link
Copy Markdown

Fix causal_conv1d and CANN 9.1.0 build for A5. Mainly:

  • pipe_barrier() -> AscendC::PipeBarrier<>()
  • Stride<> -> pto::Stride<>
  • added checks for __NPU_ARCH__ == 3101.

Signed-off-by: Pairman Guo <pairmanxlr@gmail.com>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@Pairman Pairman changed the title fix building kernels on cann 9.1.0 for Ascend950_9572 Fix kernels build on cann 9.1.0 for Ascend950_9572 Jul 31, 2026
@Pairman Pairman changed the title Fix kernels build on cann 9.1.0 for Ascend950_9572 Fix causal_conv1d and CANN 9.1.0 build for A5 Aug 3, 2026
@Pairman
Pairman force-pushed the cann9.1.0_build_fix branch from e870aa4 to 3f4b6d3 Compare August 5, 2026 09:09
@Pairman
Pairman force-pushed the cann9.1.0_build_fix branch from 3f4b6d3 to 92398f5 Compare August 5, 2026 09:11
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