Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
85d051f0
Unverified
Commit
85d051f0
authored
Jul 24, 2025
by
Yang Chen
Committed by
GitHub
Jul 24, 2025
Browse files
[Misc] Removed undefined cmake variables MOE_PERMUTE_ARCHS (#21262)
Signed-off-by:
Yang Chen
<
yangche@fb.com
>
parent
5140f54b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
CMakeLists.txt
CMakeLists.txt
+8
-11
No files found.
CMakeLists.txt
View file @
85d051f0
...
@@ -768,6 +768,14 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
...
@@ -768,6 +768,14 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
list
(
APPEND VLLM_MOE_EXT_SRC
"csrc/moe/moe_wna16.cu"
)
list
(
APPEND VLLM_MOE_EXT_SRC
"csrc/moe/moe_wna16.cu"
)
endif
()
endif
()
if
(
VLLM_GPU_LANG STREQUAL
"CUDA"
)
set
(
MOE_PERMUTE_SRC
"csrc/moe/permute_unpermute_kernels/moe_permute_unpermute_kernel.cu"
"csrc/moe/moe_permute_unpermute_op.cu"
)
list
(
APPEND VLLM_MOE_EXT_SRC
"
${
MOE_PERMUTE_SRC
}
"
)
endif
()
set_gencode_flags_for_srcs
(
set_gencode_flags_for_srcs
(
SRCS
"
${
VLLM_MOE_EXT_SRC
}
"
SRCS
"
${
VLLM_MOE_EXT_SRC
}
"
CUDA_ARCHS
"
${
CUDA_ARCHS
}
"
)
CUDA_ARCHS
"
${
CUDA_ARCHS
}
"
)
...
@@ -836,17 +844,6 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
...
@@ -836,17 +844,6 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
endif
()
endif
()
endif
()
endif
()
if
(
VLLM_GPU_LANG STREQUAL
"CUDA"
)
set
(
MOE_PERMUTE_SRC
"csrc/moe/permute_unpermute_kernels/moe_permute_unpermute_kernel.cu"
"csrc/moe/moe_permute_unpermute_op.cu"
)
set_gencode_flags_for_srcs
(
SRCS
"
${
MOE_PERMUTE_SRC
}
"
CUDA_ARCHS
"
${
CUDA_ARCHS
}
"
)
list
(
APPEND VLLM_MOE_EXT_SRC
"
${
MOE_PERMUTE_SRC
}
"
)
endif
()
message
(
STATUS
"Enabling moe extension."
)
message
(
STATUS
"Enabling moe extension."
)
define_gpu_extension_target
(
define_gpu_extension_target
(
_moe_C
_moe_C
...
...
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