Closed yz-tang closed 5 months ago
Yes we support ragged tensors in C++ apis, we add some examples in #190.
Regarding your link issue, you can check whether you have instantiated the templates. We decouple the declaration and implementations to accelerate compilation speed, if you only include the declaration header, then you have to compile the template instantiations and link them properly (see our CMakeLists).
In the c++ unit test, I only found case about paged tensor。 How to use ragged tensor in c++? When I try use BatchPrefillWithRaggedKVCacheWrapper, it will link error。