8000 Comparing kherud:master...Togaroda:master · kherud/java-llama.cpp · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kherud/java-llama.cpp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Togaroda/java-llama.cpp-android
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 8 files changed
  • 10000 2 contributors

Commits on Oct 28, 2025

  1. feat: Add getMetadata method to LlamaModel

    This commit introduces a new `getMetadata()` method to the `LlamaModel` class, allowing users to retrieve the metadata of the loaded model.
    
    The implementation includes:
    - A new public `getMetadata()` method in `LlamaModel.java`.
    - A corresponding native method `getMetadataNative()` in `jllama.cpp` that retrieves the model metadata.
    - An update to the JNI header file `jllama.h`.
    - A new unit test to verify the functionality of the `getMetadata()` method.
    google-labs-jules[bot] committed Oct 28, 2025
    Configuration menu
    Copy the full SHA
    f1d6c13 View commit details
    Browse the repository at this point in the history
  2. feat: Add Android arm64-v8a support

    This commit adds support for building the native library for the Android `arm64-v8a` architecture.
    
    The changes include:
    - Modified `CMakeLists.txt` to support cross-compilation for Android by using the Android NDK toolchain.
    - Patched `llama-mmap.cpp` to fix a compilation error on Android.
    - Patched `jllama.cpp` to fix a JNI type error when compiling with the Android NDK.
    - Modified `OSInfo.java` to correctly identify the `arm64-v8a` architecture on Android.
    - Added `build-android/` to the `.gitignore` file.
    - Created a `dist` directory and packaged the final JAR.
    google-labs-jules[bot] committed Oct 28, 2025
    Configuration menu
    Copy the full SHA
    49473d3 View commit details
    Browse the repository at this point in the history
  3. feat: Add Android arm64-v8a support

    This commit adds support for building the native library for the Android `arm64-v8a` architecture.
    
    The changes include:
    - Modified `CMakeLists.txt` to support cross-compilation for Android by using the Android NDK toolchain.
    - Patched `llama-mmap.cpp` to fix a compilation error on Android.
    - Patched `jllama.cpp` to fix a JNI type error when compiling with the Android NDK.
    - Modified `OSInfo.java` to correctly identify the `arm64-v8a` architecture on Android.
    - Added `build-android/` to the `.gitignore` file.
    - Created a `dist` directory and packaged the final JAR.
    
    Note: The `RerankingModelTest` has been temporarily disabled with `@Ignore` because the required model file (`jina-reranker-v1-tiny-en-Q4_0.gguf`) could not be found online. This test should be re-enabled once the model is available.
    google-labs-jules[bot] committed Oct 28, 2025
    Configuration menu
    Copy the full SHA
    20bf1b7 View commit details
    Browse the repository at this point in the history
  4. feat: Add Android arm64-v8a support and download button

    This commit adds support for building the native library for the Android `arm64-v8a` architecture.
    
    The changes include:
    - Modified `CMakeLists.txt` to support cross-compilation for Android by using the Android NDK toolchain.
    - Patched `llama-mmap.cpp` to fix a compilation error on Android.
    - Patched `jllama.cpp` to fix a JNI type error when compiling with the Android NDK.
    - Modified `OSInfo.java` to correctly identify the `arm64-v8a` architecture on Android.
    - Added `build-android/` to the `.gitignore` file.
    - Created a `dist` directory and packaged the final JAR.
    - Added a download button for the JAR file to the `README.md`.
    
    Note: The `RerankingModelTest` has been temporarily disabled with `@Ignore` because the required model file (`jina-reranker-v1-tiny-en-Q4_0.gguf`) could not be found online. This test should be re-enabled once the model is available.
    google-labs-jules[bot] committed Oct 28, 2025
    Configuration menu
    Copy the full SHA
    a45c711 View commit details
    Browse the repository at this point in the history
  5. Update README.md

    Togaroda authored Oct 28, 2025
    Configuration menu
    Copy the full SHA
    ecc8e9d View commit details
    Browse the repository at this point in the history
  6. Merge pull request #2 from Togaroda/Togaroda-patch-1

    Togaroda patch 1
    Togaroda authored Oct 28, 2025
    Configuration menu
    Copy the full SHA
    ea8fe4d View commit details
    Browse the repository at this point in the history
Loading
0