mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-09 04:50:17 +00:00
[npu] use extension for op builder (#5172)
* update extension * update cpu adam * update is * add doc for cpu adam * update kernel * update commit * update flash * update memory efficient * update flash attn * update flash attention loader * update api * fix * update doc * update example time limit * reverse change * fix doc * remove useless kernel * fix * not use warning * update * update
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
from .cpu_adam_loader import CPUAdamLoader
|
||||
from .cuda_native import FusedScaleMaskSoftmax, LayerNorm, MultiHeadAttention
|
||||
from .extensions.flash_attention import AttnMaskType
|
||||
from .flash_attention_loader import ColoAttention, FlashAttentionLoader
|
||||
|
||||
__all__ = [
|
||||
"LayerNorm",
|
||||
"FusedScaleMaskSoftmax",
|
||||
"MultiHeadAttention",
|
||||
"CPUAdamLoader",
|
||||
"FlashAttentionLoader",
|
||||
"ColoAttention",
|
||||
"AttnMaskType",
|
||||
]
|
||||
|
Reference in New Issue
Block a user