mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2026-04-26 01:35:21 +00:00
[Inference/Kernel]Add get_cos_and_sin Kernel (#5528)
* Add get_cos_and_sin kernel * fix code comments * fix code typos * merge common codes of get_cos_and_sin kernel. * Fixed a typo * Changed 'asset allclose' to 'assert equal'.
This commit is contained in:
@@ -16,6 +16,7 @@ class InferenceOpsCudaExtension(_CudaExtension):
|
||||
"cuda/fused_rotary_emb_and_cache_kernel.cu",
|
||||
"cuda/activation_kernel.cu",
|
||||
"cuda/rms_layernorm_kernel.cu",
|
||||
"cuda/get_cos_and_sin_kernel.cu",
|
||||
]
|
||||
]
|
||||
return ret
|
||||
|
||||
Reference in New Issue
Block a user