You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.cpp:1:
/Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.h:546:13: error: no matching function for call to 'ggml_scale_inplace'
ggml_scale_inplace(gctx, attn_scores, ggml_new_f32(gctx, 1.f / std::sqrt(head_size))));
^~~~~~~~~~~~~~~~~~
/Users/a1021500667/Documents/gpt/chatglm.cpp/third_party/ggml/include/ggml/ggml.h:1158:35: note: candidate function not viable: no known conversion from 'struct ggml_tensor *' to 'float' for 3rd argument
GGML_API struct ggml_tensor * ggml_scale_inplace(
^
/Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.cpp:49:26: error: no member named 'n_dims' in 'ggml_tensor'
for (int i = tensor->n_dims - 1; i >= 0; i--) {
~~~~~~ ^
/Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.cpp:59:26: error: no member named 'n_dims' in 'ggml_tensor'
for (int i = tensor->n_dims - 1; i >= 0; i--) {
~~~~~~ ^
/Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.cpp:71:21: error: no member named 'n_dims' in 'ggml_tensor'
if (tensor->n_dims > 3)
~~~~~~ ^
/Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.cpp:74:25: error: no member named 'n_dims' in 'ggml_tensor'
if (tensor->n_dims > 2)
~~~~~~ ^
/Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.cpp:77:29: error: no member named 'n_dims' in 'ggml_tensor'
cmake version 3.29.0-rc1
python 3.9
cmake -B build命令无问题
The text was updated successfully, but these errors were encountered:
In file included from /Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.cpp:1:
/Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.h:546:13: error: no matching function for call to 'ggml_scale_inplace'
ggml_scale_inplace(gctx, attn_scores, ggml_new_f32(gctx, 1.f / std::sqrt(head_size))));
^~~~~~~~~~~~~~~~~~
/Users/a1021500667/Documents/gpt/chatglm.cpp/third_party/ggml/include/ggml/ggml.h:1158:35: note: candidate function not viable: no known conversion from 'struct ggml_tensor *' to 'float' for 3rd argument
GGML_API struct ggml_tensor * ggml_scale_inplace(
^
/Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.cpp:49:26: error: no member named 'n_dims' in 'ggml_tensor'
for (int i = tensor->n_dims - 1; i >= 0; i--) {
~~~~~~ ^
/Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.cpp:59:26: error: no member named 'n_dims' in 'ggml_tensor'
for (int i = tensor->n_dims - 1; i >= 0; i--) {
~~~~~~ ^
/Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.cpp:71:21: error: no member named 'n_dims' in 'ggml_tensor'
if (tensor->n_dims > 3)
~~~~~~ ^
/Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.cpp:74:25: error: no member named 'n_dims' in 'ggml_tensor'
if (tensor->n_dims > 2)
~~~~~~ ^
/Users/a1021500667/Documents/gpt/chatglm.cpp/chatglm.cpp:77:29: error: no member named 'n_dims' in 'ggml_tensor'
cmake version 3.29.0-rc1
python 3.9
cmake -B build命令无问题
The text was updated successfully, but these errors were encountered: