I used the Oracle Zurich version of Llama pure Java inference with vector extensions and then played with trying to boost inference. For some small Llama models it was on a par with native Llama.cpp but never quite reached the same inference TPS numbers otherwise. Hope you have better luck!
https://github.com/neocoretechs/Llama4jNoDeps
I used the Oracle Zurich version of Llama pure Java inference with vector extensions and then played with trying to boost inference. For some small Llama models it was on a par with native Llama.cpp but never quite reached the same inference TPS numbers otherwise. Hope you have better luck!
https://github.com/neocoretechs/Llama4jNoDeps