Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
77a6c9d2
Unverified
Commit
77a6c9d2
authored
Feb 28, 2025
by
Chaitanya Sri Krishna Lolla
Committed by
GitHub
Feb 28, 2025
Browse files
Remove unused imports from rocm mla kernel. (#3963)
parent
e3e0bc50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
python/sglang/srt/layers/attention/triton_ops/rocm_mla_decode_rope.py
...g/srt/layers/attention/triton_ops/rocm_mla_decode_rope.py
+0
-7
No files found.
python/sglang/srt/layers/attention/triton_ops/rocm_mla_decode_rope.py
View file @
77a6c9d2
...
...
@@ -20,19 +20,12 @@ It supports page size = 1.
# https://github.com/ModelTC/lightllm/blob/96353e868a840db4d103138caf15ed9dbea8c186/lightllm/models/deepseek2/triton_kernel/gqa_flash_decoding_stage1.py
# https://github.com/ModelTC/lightllm/blob/96353e868a840db4d103138caf15ed9dbea8c186/lightllm/models/deepseek2/triton_kernel/gqa_flash_decoding_stage2.py
import
argparse
import
logging
import
sys
import
pytest
import
torch
import
triton
import
triton.language
as
tl
from
sglang.srt.layers.attention.triton_ops.decode_attention
import
(
_decode_softmax_reducev_fwd
,
)
from
sglang.srt.layers.rotary_embedding
import
DeepseekScalingRotaryEmbedding
def
is_hip
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment