Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ Documentation="https://docs.vllm.ai/en/latest/"
[tool.setuptools_scm]
# no extra settings needed, presence enables setuptools-scm

[tool.setuptools.packages.find]
where = ["."]
include = ["vllm_xpu_kernels*"]
[tool.setuptools]
packages = ["vllm_xpu_kernels"]
Copy link

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The explicit packages configuration may not include subdirectories or subpackages within vllm_xpu_kernels. Consider using find_packages() or explicitly listing all subpackages if they exist, or use packages = {"vllm_xpu_kernels": "vllm_xpu_kernels"} with include-package-data = true to ensure all necessary files are included.

Suggested change
packages = ["vllm_xpu_kernels"]
packages = "find:"
include-package-data = true

Copilot uses AI. Check for mistakes.

[tool.yapfignore]
ignore_patterns = [
Expand Down
1 change: 1 addition & 0 deletions vllm_xpu_kernels/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0

from . import _C, _moe_C, _vllm_fa2_C, _xpu_C # noqa: F401
from .flash_attn_interface import flash_attn_varlen_func # noqa: F401