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
06dd2eab
Unverified
Commit
06dd2eab
authored
Jan 06, 2025
by
Ke Bao
Committed by
GitHub
Jan 06, 2025
Browse files
Remove unused var in moe_align_kernel (#2751)
parent
439f6580
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
sgl-kernel/src/sgl-kernel/csrc/moe_align_kernel.cu
sgl-kernel/src/sgl-kernel/csrc/moe_align_kernel.cu
+0
-1
No files found.
sgl-kernel/src/sgl-kernel/csrc/moe_align_kernel.cu
View file @
06dd2eab
...
@@ -51,7 +51,6 @@ __global__ void moe_align_block_size_kernel(scalar_t* __restrict__ topk_ids, int
...
@@ -51,7 +51,6 @@ __global__ void moe_align_block_size_kernel(scalar_t* __restrict__ topk_ids, int
__shared__
int32_t
local_offsets
[
256
];
__shared__
int32_t
local_offsets
[
256
];
const
int
warp_id
=
threadIdx
.
x
/
WARP_SIZE
;
const
int
warp_id
=
threadIdx
.
x
/
WARP_SIZE
;
const
int
lane_id
=
threadIdx
.
x
%
WARP_SIZE
;
const
int
experts_per_warp
=
8
;
const
int
experts_per_warp
=
8
;
const
int
my_expert_start
=
warp_id
*
experts_per_warp
;
const
int
my_expert_start
=
warp_id
*
experts_per_warp
;
...
...
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