kherud / java-llama.cpp

Java Bindings for llama.cpp - A Port of Facebook's LLaMA model in C/C++
MIT License
279 stars 28 forks source link

JNI #72

Open ys2940 opened 1 month ago

ys2940 commented 1 month ago

java: 写入de.kherud.llama.LlamaModel时出错: com.sun.tools.javac.jvm.JNIWriter$TypeSignature$SignatureException: (@org.jetbrains.annotations.Nullable :: java.util.function.BiConsumer 环境 macOS M3,jdk1.8

kherud commented 1 month ago

Hey @ys2940 do you have to use Java 1.8 or can you upgrade to a newer version?

ys2940 commented 1 month ago

I want to use 1.8 if I can

kherud commented 1 month ago

Ok, the jetbrains annotations aren't extensively used in the current version anyway, so I think I can remove them for backwards compatibility. I'll do this later today.