Skip to content

Upgrade llama.cpp from b10456 to b10679 - #403

Merged
bernardladenthin merged 76 commits into
mainfrom
claude/java-llama-cpp-b10618-hbc7ag
Aug 29, 2026
Merged

Upgrade llama.cpp from b10456 to b10679#403
bernardladenthin merged 76 commits into
mainfrom
claude/java-llama-cpp-b10618-hbc7ag

fix: refresh our own load-progress user_data on every model load

cce1911
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 29, 2026 in 46s

Annotations

Check warning on line 540 in llama/src/test/java/net/ladenthin/llama/parameters/ModelParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBFemgCwx_LP-O_BSS_&open=AaBFemgCwx_LP-O_BSS_&pullRequest=403

Check warning on line 541 in llama/src/test/java/net/ladenthin/llama/parameters/ModelParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBFemgCwx_LP-O_BSTA&open=AaBFemgCwx_LP-O_BSTA&pullRequest=403

Check warning on line 100 in llama/src/test/java/net/ladenthin/llama/TestConstantsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Swap these 2 arguments so they are in the correct order: expected value, actual value.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaA6wSzMNfmX2-ey0y8R&open=AaA6wSzMNfmX2-ey0y8R&pullRequest=403

Check warning on line 115 in llama/src/test/java/net/ladenthin/llama/parameters/ModelParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBDUfvwfElN4GS1LqcU&open=AaBDUfvwfElN4GS1LqcU&pullRequest=403

Check warning on line 703 in llama/src/test/java/net/ladenthin/llama/parameters/ModelParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBMfU5Acp18kkeMaJ37&open=AaBMfU5Acp18kkeMaJ37&pullRequest=403

Check warning on line 793 in llama/src/test/java/net/ladenthin/llama/parameters/InferenceParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaA6wSwuNfmX2-ey0y8J&open=AaA6wSwuNfmX2-ey0y8J&pullRequest=403

Check warning on line 746 in llama/src/test/java/net/ladenthin/llama/parameters/ModelParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBKbiIjtxS4wo3OkWCX&open=AaBKbiIjtxS4wo3OkWCX&pullRequest=403

Check warning on line 25 in llama/src/test/java/net/ladenthin/llama/IdleSleepWakeIntegrationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove redundant visibility modifiers from this test class and its methods.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBKlRW4Z_PDv27C981z&open=AaBKlRW4Z_PDv27C981z&pullRequest=403

Check warning on line 93 in llama/src/test/java/net/ladenthin/llama/IdleSleepWakeIntegrationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertNotNull instead.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBKlRW4Z_PDv27C9811&open=AaBKlRW4Z_PDv27C9811&pullRequest=403

Check warning on line 704 in llama/src/test/java/net/ladenthin/llama/parameters/ModelParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBMfU5Acp18kkeMaJ38&open=AaBMfU5Acp18kkeMaJ38&pullRequest=403

Check warning on line 560 in llama/src/test/java/net/ladenthin/llama/parameters/ModelParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBFemgCwx_LP-O_BSTB&open=AaBFemgCwx_LP-O_BSTB&pullRequest=403

Check warning on line 798 in llama/src/test/java/net/ladenthin/llama/parameters/InferenceParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaA6wSwuNfmX2-ey0y8K&open=AaA6wSwuNfmX2-ey0y8K&pullRequest=403

Check warning on line 309 in llama/src/main/java/net/ladenthin/llama/parameters/InferenceParameters.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBCXXRTTptVd_-dGvRz&open=AaBCXXRTTptVd_-dGvRz&pullRequest=403

Check warning on line 740 in llama/src/test/java/net/ladenthin/llama/parameters/ModelParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBKbiIjtxS4wo3OkWCW&open=AaBKbiIjtxS4wo3OkWCW&pullRequest=403

Check warning on line 89 in llama/src/test/java/net/ladenthin/llama/TestConstantsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Swap these 2 arguments so they are in the correct order: expected value, actual value.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaA6wSzMNfmX2-ey0y8N&open=AaA6wSzMNfmX2-ey0y8N&pullRequest=403

Check warning on line 87 in llama/src/test/java/net/ladenthin/llama/TestConstantsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Swap these 2 arguments so they are in the correct order: expected value, actual value.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaA6wSzMNfmX2-ey0y8M&open=AaA6wSzMNfmX2-ey0y8M&pullRequest=403

Check warning on line 451 in llama/src/main/java/net/ladenthin/llama/parameters/InferenceParameters.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBCXXRTTptVd_-dGvR0&open=AaBCXXRTTptVd_-dGvR0&pullRequest=403

Check warning on line 163 in llama/src/test/java/net/ladenthin/llama/parameters/ModelParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaA6wStnNfmX2-ey0y8I&open=AaA6wStnNfmX2-ey0y8I&pullRequest=403

Check warning on line 572 in llama/src/main/java/net/ladenthin/llama/parameters/InferenceParameters.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBCXXRTTptVd_-dGvR2&open=AaBCXXRTTptVd_-dGvR2&pullRequest=403

Check warning on line 539 in llama/src/test/java/net/ladenthin/llama/parameters/ModelParametersTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBFemgCwx_LP-O_BSS-&open=AaBFemgCwx_LP-O_BSS-&pullRequest=403

Check warning on line 698 in llama/src/main/java/net/ladenthin/llama/parameters/InferenceParameters.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBEuLGfMD5aIOx7AzcT&open=AaBEuLGfMD5aIOx7AzcT&pullRequest=403

Check warning on line 84 in llama/src/test/java/net/ladenthin/llama/IdleSleepWakeIntegrationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "Thread.sleep()".

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBKlRW4Z_PDv27C9810&open=AaBKlRW4Z_PDv27C9810&pullRequest=403

Check warning on line 196 in llama/src/test/java/net/ladenthin/llama/TestConstantsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this regular expression to a Pattern compiled outside the loop.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaBEuLAWMD5aIOx7AzcS&open=AaBEuLAWMD5aIOx7AzcS&pullRequest=403

Check warning on line 94 in llama/src/test/java/net/ladenthin/llama/TestConstantsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Swap these 2 arguments so they are in the correct order: expected value, actual value.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaA6wSzMNfmX2-ey0y8P&open=AaA6wSzMNfmX2-ey0y8P&pullRequest=403

Check warning on line 97 in llama/src/test/java/net/ladenthin/llama/TestConstantsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Swap these 2 arguments so they are in the correct order: expected value, actual value.

See more on https://sonarcloud.io/project/issues?id=bernardladenthin_java-llama.cpp&issues=AaA6wSzMNfmX2-ey0y8Q&open=AaA6wSzMNfmX2-ey0y8Q&pullRequest=403