Skip to content

Build error #142

Description

@Xcc313r4n7

Running into this error when building:

/home/cinder/git/TensorSharp/TensorSharp.GGML.Native/ggml_ops_mamba2.cpp: In function ‘int TSGgml_NemotronMamba2PrefillF32(tsg::TensorView2DDesc, tsg::TensorView2DDesc, void*, int, void*, int, void*, void*, void*, void*, void*, void*, int, int, int, int, int, int, float)’:
/home/cinder/git/TensorSharp/TensorSharp.GGML.Native/ggml_ops_mamba2.cpp:599:46: error: too few arguments to function ‘ggml_tensor* ggml_ssm_scan(ggml_context*, ggml_tensor*, ggml_tensor*, ggml_tensor*, ggml_tensor*, ggml_tensor*, ggml_tensor*, ggml_tensor*, int64_t)’
599 | ggml_tensor* scan = ggml_ssm_scan(ctx, ssm_state_t, x, dt, a_t, b, c, ids_t);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/cinder/git/TensorSharp/TensorSharp.GGML.Native/ggml_ops_internal.h:33,
from /home/cinder/git/TensorSharp/TensorSharp.GGML.Native/ggml_ops_mamba2.cpp:11:
/home/cinder/git/TensorSharp/TensorSharp.GGML.Native/../ExternalProjects/ggml/include/ggml.h:2454:35: note: declared here
2454 | GGML_API struct ggml_tensor * ggml_ssm_scan(
| ^~~~~~~~~~~~~
/home/cinder/git/TensorSharp/TensorSharp.GGML.Native/ggml_ops_mamba2.cpp: In function ‘int TSGgml_NemotronMamba2DecodeF32(uint64_t, tsg::TensorView2DDesc, tsg::TensorView2DDesc, void*, int, void*, int, int, int, void*, void*, void*, void*, void*, void*, int, int, int, int, int, int, float)’:
/home/cinder/git/TensorSharp/TensorSharp.GGML.Native/ggml_ops_mamba2.cpp:956:46: error: too few arguments to function ‘ggml_tensor* ggml_ssm_scan(ggml_context*, ggml_tensor*, ggml_tensor*, ggml_tensor*, ggml_tensor*, ggml_tensor*, ggml_tensor*, ggml_tensor*, int64_t)’
956 | ggml_tensor* scan = ggml_ssm_scan(ctx, ssm_state_t, x, dt, a_t, b, c, ids_t);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cinder/git/TensorSharp/TensorSharp.GGML.Native/../ExternalProjects/ggml/include/ggml.h:2454:35: note: declared here
2454 | GGML_API struct ggml_tensor * ggml_ssm_scan(
| ^~~~~~~~~~~~~
make[3]: *** [CMakeFiles/GgmlOps.dir/build.make:429: CMakeFiles/GgmlOps.dir/ggml_ops_mamba2.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/Makefile2:209: CMakeFiles/GgmlOps.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:216: CMakeFiles/GgmlOps.dir/rule] Error 2
make: *** [Makefile:170: GgmlOps] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions