Skip to content

Commit

Permalink
[Inference/NFC] Clean outdated inference tests and deprecated kernels (
Browse files Browse the repository at this point in the history
…#5159)

* [inference/nfc] remove outdated inference tests

* remove outdated kernel tests

* remove deprecated triton kernels

* remove imports from deprecated kernels
  • Loading branch information
yuanheng-zhao committed Dec 5, 2023
1 parent 778e679 commit 7fe0364
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 2,543 deletions.
12 changes: 0 additions & 12 deletions colossalai/kernel/triton/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,12 @@

# There may exist import error even if we have triton installed.
if HAS_TRITON:
from .context_attention import bloom_context_attn_fwd, llama_context_attn_fwd
from .copy_kv_cache_dest import copy_kv_cache_to_dest
from .fused_layernorm import layer_norm
from .gptq_triton import gptq_fused_linear_triton
from .int8_rotary_embedding_kernel import int8_rotary_embedding_fwd
from .smooth_attention import smooth_llama_context_attn_fwd, smooth_token_attention_fwd
from .softmax import softmax
from .token_attention_kernel import token_attention_fwd

__all__ = [
"llama_context_attn_fwd",
"bloom_context_attn_fwd",
"softmax",
"layer_norm",
"copy_kv_cache_to_dest",
"token_attention_fwd",
"gptq_fused_linear_triton",
"int8_rotary_embedding_fwd",
"smooth_llama_context_attn_fwd",
"smooth_token_attention_fwd",
]
Loading

0 comments on commit 7fe0364

Please sign in to comment.