Skip to content

feat: add NPU fused norm operators for Wan2.2 DiT.#1923

Open
ethan686 wants to merge 1 commit into
xLLM-AI:mainfrom
ethan686:wan22_norm
Open

feat: add NPU fused norm operators for Wan2.2 DiT.#1923
ethan686 wants to merge 1 commit into
xLLM-AI:mainfrom
ethan686:wan22_norm

Conversation

@ethan686

Copy link
Copy Markdown
Collaborator

add a new aclnnAdalayernorm kernel for wan2.2.
40steps time consuming: from 106.38s --> 102.8s
percision with or without this kernel: guidacnce =1.5 99.9% , guidance = 5.0 95.2%

- Add aclnnAdaLayerNorm fusion operator
- Add NPU fused norm operators (npu_adalayernorm_ops)
- Keep norm2 as FP32LayerNorm
- Add Ada layer norm common implementation
- Wire up NPU ops in ops_api and param headers
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