Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
Keeping in sync with upstream vllm - Preventing breakage for intel.
  • Loading branch information
divakar-amd authored May 21, 2024
1 parent 54d6fda commit e7ebd71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,12 @@ def _read_requirements(filename: str) -> List[str]:
if _is_cuda() and _install_punica():
ext_modules.append(CMakeExtension(name="vllm._punica_C"))

if _is_cuda() or _is_hip():
ext_modules.append(CMakeExtension(name="vllm._moe_C"))

if not _is_neuron():
ext_modules.append(CMakeExtension(name="vllm._C"))
ext_modules.append(CMakeExtension(name="vllm._custom_C"))
ext_modules.append(CMakeExtension(name="vllm._moe_C"))

package_data = {
"vllm": ["py.typed", "model_executor/layers/fused_moe/configs/*.json"]
Expand Down

0 comments on commit e7ebd71

Please sign in to comment.