Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@
path = xllm-kernel/third_party/catlass
url = https://gitcode.com/cann/catlass.git
fetchRecurseSubmodules = false
[submodule "xllm-kernel/third_party/pto-isa"]
path = xllm-kernel/third_party/pto-isa
url = https://gitcode.com/cann/pto-isa.git
5 changes: 4 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ include .gitmodules
recursive-include src *.*
recursive-include xllm *.py
recursive-include xllm-kernel *.py *.toml *.md *.cpp *.h
recursive-include xllm-kernel/csrc/ascendc CMakeLists.txt *.cmake *.txt *.hpp
recursive-include xllm-kernel/csrc/ascendc CMakeLists.txt *.cmake *.txt *.hpp *.inc
prune xllm-kernel/third_party/catlass
recursive-include xllm-kernel/third_party/catlass/include *.h *.hpp
include xllm-kernel/third_party/catlass/LICENSE
prune xllm-kernel/third_party/pto-isa
recursive-include xllm-kernel/third_party/pto-isa/include *.h *.hpp *.inc
include xllm-kernel/third_party/pto-isa/LICENSE
recursive-include xllm/auto_config *.json
recursive-include examples *.py
recursive-include third_party *
Expand Down
5 changes: 3 additions & 2 deletions tests/python/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ def native_conv(
state[sequence].copy_(window[-state.shape[1] :])
return output.view_as(inputs)

monkeypatch.setattr(torch.ops.xllm_ops, "causal_conv1d", native_conv, raising=False)
from xllm.python.attention import kda_linear_attention

monkeypatch.setattr(kda_linear_attention, "causal_conv1d", native_conv)
return calls


Expand Down Expand Up @@ -144,7 +146,6 @@ def _grouped_moe_bf16_reference(
@pytest.fixture(autouse=True)
def _model_cpu_normalization(request: pytest.FixtureRequest, monkeypatch: pytest.MonkeyPatch) -> None:
if request.module.__name__.rsplit(".", 1)[-1] not in {
"test_glm5_next_kda",
"test_glm5_next_dsa",
"test_glm53flash_rms_norm",
"test_deepseek_v41_model",
Expand Down
684 changes: 0 additions & 684 deletions tests/python/test_glm5_next_kda.py

This file was deleted.

Loading
Loading