How compatible is ITensor C++ with llama.cpp?
What is llama.cpp?
Hi Kevin,
At a broader level, I would say that ITensor C++ is not designed specifically to be compatible with other libraries. That doesn’t mean it is not compatible, just that we did not have other libraries in mind when designing the interface. The good news is that if one needs general sorts of tensor operations like tensor contractions, it is easy enough to convert things like dense arrays into ITensors and back so that one can glue ITensor together with other libraries easily enough.
With the Julia version, we’ve made and are making even more of a deliberate effort to make it easy to interconvert ITensors to other types like basic Julia arrays. Also Julia inherently makes it easier to mix together different libraries both in terms of language features and the community coming around certain common interfaces like array interfaces which hasn’t happened as much in C++.
Hope that helps.
Miles