ggml-cpu: Fix duplicate MATMUL_INT8 (#11817)
Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>
This commit is contained in:
parent
c3d6af7cd2
commit
198b1ec611
1 changed files with 0 additions and 3 deletions
|
@ -534,9 +534,6 @@ static ggml_backend_feature * ggml_backend_cpu_get_features(ggml_backend_reg_t r
|
||||||
if (ggml_cpu_has_dotprod()) {
|
if (ggml_cpu_has_dotprod()) {
|
||||||
features.push_back({ "DOTPROD", "1" });
|
features.push_back({ "DOTPROD", "1" });
|
||||||
}
|
}
|
||||||
if (ggml_cpu_has_matmul_int8()) {
|
|
||||||
features.push_back({ "MATMUL_INT8", "1" });
|
|
||||||
}
|
|
||||||
if (ggml_cpu_get_sve_cnt() > 0) {
|
if (ggml_cpu_get_sve_cnt() > 0) {
|
||||||
static std::string sve_cnt = std::to_string(ggml_cpu_get_sve_cnt());
|
static std::string sve_cnt = std::to_string(ggml_cpu_get_sve_cnt());
|
||||||
features.push_back({ "SVE_CNT", sve_cnt.c_str() });
|
features.push_back({ "SVE_CNT", sve_cnt.c_str() });
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue