From 806a3002c10b3992b86921e0af17b116794c78e1 Mon Sep 17 00:00:00 2001 From: Yineng Zhang Date: Thu, 23 Jan 2025 02:47:36 +0800 Subject: [PATCH] add notice about flashinfer in sgl-kernel (#3057) --- sgl-kernel/src/sgl-kernel/ops/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sgl-kernel/src/sgl-kernel/ops/__init__.py b/sgl-kernel/src/sgl-kernel/ops/__init__.py index cea3436b6..d90f121d4 100644 --- a/sgl-kernel/src/sgl-kernel/ops/__init__.py +++ b/sgl-kernel/src/sgl-kernel/ops/__init__.py @@ -90,6 +90,8 @@ def rotary_embedding(positions, query, key, head_size, cos_sin_cache, is_neox): return _rotary_embedding(positions, query, key, head_size, cos_sin_cache, is_neox) +# These implementations extensively draw from and build upon the FlashInfer project https://github.com/flashinfer-ai/flashinfer +# Kudos to @yzh119 def rmsnorm( input: torch.Tensor, weight: torch.Tensor,