mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #302] cpufeature 不支持arm64 #195
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#195
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 @niceqwer55555 on GitHub (Feb 14, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/302
o
cpufeature/cpu_x86.c:21:5: error: #error "No cpuid intrinsic defined for processor architecture."
21 | # error "No cpuid intrinsic defined for processor architecture."
| ^~~~~
cpufeature/cpu_x86.c: In function ‘detect_OS_AVX’:
cpufeature/cpu_x86.c:48:35: warning: implicit declaration of function ‘xgetbv’ [-Wimplicit-function-declaration]
48 | uint64_t xcrFeatureMask = xgetbv(_XCR_XFEATURE_ENABLED_MASK);
| ^~~~~~
cpufeature/cpu_x86.c:48:42: error: ‘_XCR_XFEATURE_ENABLED_MASK’ undeclared (first use in this function)
48 | uint64_t xcrFeatureMask = xgetbv(_XCR_XFEATURE_ENABLED_MASK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cpufeature/cpu_x86.c:48:42: note: each undeclared identifier is reported only once for each function it appears in
cpufeature/cpu_x86.c: In function ‘detect_OS_AVX512’:
cpufeature/cpu_x86.c:59:38: error: ‘_XCR_XFEATURE_ENABLED_MASK’ undeclared (first use in this function)
59 | uint64_t xcrFeatureMask = xgetbv(_XCR_XFEATURE_ENABLED_MASK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cpufeature/cpu_x86.c: In function ‘detect_cores’:
cpufeature/cpu_x86.c:150:23: warning: implicit declaration of function ‘hardware_concurrency’ [-Wimplicit-function-declaration]
150 | totalSystemProc = hardware_concurrency();
| ^~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cpufeature
Running setup.py clean for cpufeature
Failed to build cpufeature
ERROR: Failed to build installable wheels for some pyproject.toml based projects (cpufeature)
@ghostplant commented on GitHub (May 1, 2025):
请问这个解决了吗?