We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我在thinkbook编出来的可执行文件,但是放到另一台电脑上(YOGA)就崩溃了,我看崩溃地方定位到ggml-cpu.c文件,
inline static void ggml_vec_scale_f32(const int n, float * y, const float v) { #if defined(GGML_USE_ACCELERATE) vDSP_vsmul(y, 1, &v, y, 1, n); #elif defined(GGML_SIMD) const int np = (n & ~(GGML_F32_STEP - 1)); GGML_F32_VEC vx = GGML_F32_VEC_SET1(v); //崩溃定位到这一行 GGML_F32_VEC ay[GGML_F32_ARR]; for (int i = 0; i < np; i += GGML_F32_STEP) { for (int j = 0; j < GGML_F32_ARR; j++) { ay[j] = GGML_F32_VEC_LOAD(y + i + j*GGML_F32_EPR); ay[j] = GGML_F32_VEC_MUL(ay[j], vx); GGML_F32_VEC_STORE(y + i + j*GGML_F32_EPR, ay[j]); } } // leftovers for (int i = np; i < n; ++i) { y[i] *= v; } #else // scalar for (int i = 0; i < n; ++i) { y[i] *= v; } #endif }
我试了一下,whisper.cpp也会有同样的问题。就很奇怪,这是ggml的问题吗?
The text was updated successfully, but these errors were encountered:
目标机器重新编译试试
Sorry, something went wrong.
重新编译了就没事,但是我想要的结果是,在任何机器上都可以
No branches or pull requests
我在thinkbook编出来的可执行文件,但是放到另一台电脑上(YOGA)就崩溃了,我看崩溃地方定位到ggml-cpu.c文件,
我试了一下,whisper.cpp也会有同样的问题。就很奇怪,这是ggml的问题吗?
The text was updated successfully, but these errors were encountered: