mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #2128] AMXInt4 not supported in 2 numa machine with "Segmentation fault" #1286
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#1286
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CodeZ-Hao on GitHub (Aug 4, 2026).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/2128
Reminder
System Info
安装时使用USE_NUMA=1 bash install.sh安装,
KTransformers 环境诊断
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Check ┃ Status ┃ Value ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Python 版本 │ 正常 │ 3.11.14 │
│ CUDA 可用性 │ 正常 │ 13.0 │
│ GPU 检测 │ 正常 │ 发现 1 个 GPU: NVIDIA GeForce RTX 4080 │
│ CPU │ 正常 │ Intel(R) Xeon(R) Platinum 8468 (96 核心 / 192 线程) │
│ CPU 指令集 │ 正常 │ AMX-INT8, AMX-BF16, AMX-TILE, AVX512BF16, AVX512F, AVX512BW, AVX512VL, AVX2 (+14 more) │
│ NUMA 拓扑 │ 正常 │ 2 个节点 │
│ kt-kernel │ 正常 │ v0.6.4 (AMX) │
│ 系统内存 │ 正常 │ 928.2GB 可用 / 944.5GB 总计 │
│ 磁盘空间 │ 警告 │ /models 有 38.7GB 可用空间 │
│ SGLang Source │ 正常 │ sglang-kt │
│ SGLang kt-kernel │ 正常 │ SGLang kt-kernel 支持已验证 │
│ Env: SGLANG_DSV4_2604_SUBMODE │ 警告 │ 2604B │
│ Environment Managers │ 正常 │ conda 26.3.2, mamba 2.4.0, venv builtin, docker 28.3.3 │
└───────────────────────────────┴──────────┴────────────────────────────────────────────────────────────────────────────────────────┘
✓ 所有检查通过!您的环境已就绪。
pip list
Package Version Editable project location
addict 2.4.0
aiohappyeyeballs 2.6.1
aiohttp 3.13.2
aiosignal 1.4.0
airportsdata 20250909
altair 6.1.0
annotated-doc 0.0.4
annotated-types 0.7.0
anthropic 0.75.0
anyio 4.12.0
apache-tvm-ffi 0.1.11
aria2 0.0.1b0
asttokens 3.0.1
attrs 25.4.0
av 16.1.0
black 25.12.0
blinker 1.9.0
blobfile 3.0.0
build 1.3.0
cache_dit 1.2.0
cachetools 7.1.2
certifi 2025.11.12
cffi 2.0.0
charset-normalizer 3.4.4
click 8.4.2
cloudpickle 3.1.2
compressed-tensors 0.12.2
cuda-bindings 13.2.0
cuda-pathfinder 1.3.3
cuda-python 13.2.0
cuda-tile 1.3.0
datasets 4.4.1
decorator 5.2.1
decord2 2.0.0
diffusers 0.36.0
dill 0.4.0
diskcache 5.6.3
distro 1.9.0
docstring_parser 0.17.0
einops 0.8.1
executing 2.2.1
fastapi 0.124.4
filelock 3.20.0
flashinfer-cubin 0.6.3
flashinfer-python 0.6.3
frozenlist 1.8.0
fsspec 2025.10.0
ftllm 0.1.7.1
gguf 0.17.1
gitdb 4.0.12
GitPython 3.1.50
googleapis-common-protos 1.72.0
grpcio 1.83.0
grpcio-health-checking 1.81.1
grpcio-reflection 1.81.1
grpcio-tools 1.75.1
h11 0.16.0
hf_transfer 0.1.9
hf-xet 1.6.0
httpcore 1.0.9
httptools 0.7.1
httpx 0.28.1
huggingface_hub 1.26.0
humanize 4.15.0
idna 3.11
imageio 2.36.0
imageio-ffmpeg 0.5.1
importlib_metadata 8.7.1
interegular 0.3.3
ipython 9.8.0
ipython_pygments_lexers 1.1.1
itsdangerous 2.2.0
jedi 0.19.2
Jinja2 3.1.6
jiter 0.12.0
jsonschema 4.25.1
jsonschema-specifications 2025.9.1
kt-kernel 0.6.4
lark 1.3.1
llguidance 0.7.30
loguru 0.7.3
lxml 6.0.2
markdown-it-py 4.0.0
MarkupSafe 3.0.3
matplotlib-inline 0.2.1
mdurl 0.1.2
ml_dtypes 0.5.4
modelscope 1.33.0
moviepy 2.2.1
mpmath 1.3.0
msgspec 0.20.0
multidict 6.7.0
multiprocess 0.70.18
mypy_extensions 1.1.0
narwhals 2.21.2
nest-asyncio 1.6.0
networkx 3.6.1
ninja 1.13.0
numpy 2.3.5
nvidia-cublas-cu12 12.8.4.1
nvidia-cuda-crt 13.3.73
nvidia-cuda-cupti-cu12 12.8.90
nvidia-cuda-nvcc 13.2.78
nvidia-cuda-nvdisasm 13.3.73
nvidia-cuda-nvrtc-cu12 12.8.93
nvidia-cuda-runtime 13.3.29
nvidia-cuda-runtime-cu12 12.8.90
nvidia-cuda-tileiras 13.2.78
nvidia-cudnn-cu12 9.10.2.21
nvidia-cudnn-frontend 1.16.0
nvidia-cufft-cu12 11.3.3.83
nvidia-cufile-cu12 1.13.1.3
nvidia-curand-cu12 10.3.9.90
nvidia-cusolver-cu12 11.7.3.90
nvidia-cusparse-cu12 12.5.8.93
nvidia-cusparselt-cu12 0.7.1
nvidia-cutlass-dsl 4.3.5
nvidia-cutlass-dsl-libs-base 4.6.0
nvidia-cutlass-dsl-libs-core 4.6.0
nvidia-cutlass-dsl-libs-cu12 4.6.0
nvidia-ml-py 13.590.44
nvidia-nccl-cu12 2.27.5
nvidia-nvjitlink-cu12 12.8.93
nvidia-nvshmem-cu12 3.3.20
nvidia-nvtx-cu12 12.8.90
nvidia-nvvm 13.2.78
openai 2.6.1
openai-harmony 0.0.4
opencv-python-headless 4.10.0.84
opentelemetry-api 1.39.1
opentelemetry-exporter-otlp 1.39.1
opentelemetry-exporter-otlp-proto-common 1.39.1
opentelemetry-exporter-otlp-proto-grpc 1.39.1
opentelemetry-exporter-otlp-proto-http 1.39.1
opentelemetry-proto 1.39.1
opentelemetry-sdk 1.39.1
opentelemetry-semantic-conventions 0.60b1
orjson 3.11.5
outlines 0.1.11
outlines_core 0.1.26
packaging 25.0
pandas 2.3.3
parso 0.8.5
partial-json-parser 0.2.1.1.post7
pathspec 0.12.1
pexpect 4.9.0
pillow 11.3.0
pip 25.3
platformdirs 4.5.1
proglog 0.1.12
prometheus_client 0.23.1
prompt_toolkit 3.0.52
propcache 0.4.1
protobuf 6.33.6
psutil 7.1.3
ptyprocess 0.7.0
pure_eval 0.2.3
py-spy 0.4.1
pyarrow 22.0.0
pybase64 1.4.3
pycountry 24.6.1
pycparser 2.23
pycryptodomex 3.23.0
pydantic 2.12.5
pydantic_core 2.41.5
pydeck 0.9.2
Pygments 2.19.2
pyproject_hooks 1.2.0
pyreadline3 3.5.6
python-dateutil 2.9.0.post0
python-dotenv 1.2.1
python-multipart 0.0.20
pytokens 0.3.0
pytz 2025.2
PyYAML 6.0.1
pyzmq 27.1.0
quack-kernels 0.2.4
referencing 0.37.0
regex 2025.11.3
remote-pdb 2.1.0
requests 2.32.5
rich 14.3.3
rpds-py 0.30.0
runai-model-streamer 0.15.6
safetensors 0.8.0
scipy 1.16.3
sentencepiece 0.2.1
setproctitle 1.3.7
setuptools 80.9.0
sgl-kernel 0.3.21
sglang 0.0.0.dev9743+ga864420ee /home/ktransformers/sglang/python
sglang-kt 0.0.0.dev0 /home/ktransformers/sglang/python
sglang-router 0.3.2
shellingham 1.5.4
shortuuid 1.0.13
six 1.17.0
smg-grpc-proto 0.4.14
smmap 5.0.3
sniffio 1.3.1
soundfile 0.13.1
st-attn 0.0.7
stack-data 0.6.3
starlette 0.50.0
streamlit 1.57.0
streamlit-chat 0.1.1
sympy 1.14.0
tabulate 0.9.0
tenacity 9.1.4
tiktoken 0.12.0
tilelang 0.1.12
timm 1.0.16
tokenizers 0.22.1
toml 0.10.2
torch 2.9.1
torch_c_dlpack_ext 0.1.5
torch_memory_saver 0.0.9
torchao 0.9.0
torchaudio 2.9.1
torchcodec 0.8.0
torchvision 0.24.1
tqdm 4.67.1
traitlets 5.14.3
transformers 5.14.1
transformers-kt 5.6.0.post1
triton 3.5.1
typer 0.24.1
typing_extensions 4.15.0
typing-inspection 0.4.2
tzdata 2025.3
urllib3 2.6.2
uvicorn 0.38.0
uvloop 0.22.1
vsa 0.0.4
watchdog 6.0.0
wcwidth 0.2.14
websockets 16.0
wheel 0.45.1
xgrammar 0.1.27
xxhash 3.6.0
yarl 1.22.0
z3-solver 4.15.4.0
zipp 3.23.0
Reproduction
使用--kt-cpuinfer 40 --kt-threadpool-count 1 参数可以正常运行,
执行命令以及异常打印如下:
Others
No response
@CodeZ-Hao commented on GitHub (Aug 5, 2026):
更新,确认是转换模型的时候没有加kt-threadpool-count=2 导致,关闭问题