mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-05 19:13:01 +00:00
[misc] update pre-commit and run all files (#4752)
* [misc] update pre-commit * [misc] run pre-commit * [misc] remove useless configuration files * [misc] ignore cuda for clang-format
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
try:
|
||||
import triton
|
||||
|
||||
HAS_TRITON = True
|
||||
|
||||
from .context_attention import bloom_context_attn_fwd, llama_context_attn_fwd
|
||||
@@ -11,8 +12,14 @@ try:
|
||||
from .token_attention_kernel import token_attention_fwd
|
||||
|
||||
__all__ = [
|
||||
"llama_context_attn_fwd", "bloom_context_attn_fwd", "softmax", "layer_norm", "rmsnorm_forward",
|
||||
"copy_kv_cache_to_dest", "rotary_embedding_fwd", "token_attention_fwd"
|
||||
"llama_context_attn_fwd",
|
||||
"bloom_context_attn_fwd",
|
||||
"softmax",
|
||||
"layer_norm",
|
||||
"rmsnorm_forward",
|
||||
"copy_kv_cache_to_dest",
|
||||
"rotary_embedding_fwd",
|
||||
"token_attention_fwd",
|
||||
]
|
||||
|
||||
except ImportError:
|
||||
|
Reference in New Issue
Block a user