]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
android : introduce starter project example (#4926)
authorNeuman Vong <redacted>
Tue, 16 Jan 2024 13:47:34 +0000 (00:47 +1100)
committerGitHub <redacted>
Tue, 16 Jan 2024 13:47:34 +0000 (15:47 +0200)
commit862f5e41ab1fdf12d6f59455aad3f5dd8258f805
treef114f6cdfb36f0cc119952b0fcd1eca507b28d8e
parent3a48d558a69c88ac17efcaa5900cd9eb19596ac4
android : introduce starter project example (#4926)

* Introduce starter project for Android

Based on examples/llama.swiftui.

* Add github workflow

* Set NDK version

* Only build arm64-v8a in CI

* Sync bench code

* Rename CI prop to skip-armeabi-v7a

* Remove unused tests
41 files changed:
.github/workflows/build.yml
examples/llama.android/.gitignore [new file with mode: 0644]
examples/llama.android/README.md [new file with mode: 0644]
examples/llama.android/app/.gitignore [new file with mode: 0644]
examples/llama.android/app/build.gradle.kts [new file with mode: 0644]
examples/llama.android/app/proguard-rules.pro [new file with mode: 0644]
examples/llama.android/app/src/main/AndroidManifest.xml [new file with mode: 0644]
examples/llama.android/app/src/main/cpp/CMakeLists.txt [new file with mode: 0644]
examples/llama.android/app/src/main/cpp/llama-android.cpp [new file with mode: 0644]
examples/llama.android/app/src/main/java/com/example/llama/Downloadable.kt [new file with mode: 0644]
examples/llama.android/app/src/main/java/com/example/llama/Llm.kt [new file with mode: 0644]
examples/llama.android/app/src/main/java/com/example/llama/MainActivity.kt [new file with mode: 0644]
examples/llama.android/app/src/main/java/com/example/llama/MainViewModel.kt [new file with mode: 0644]
examples/llama.android/app/src/main/java/com/example/llama/ui/theme/Color.kt [new file with mode: 0644]
examples/llama.android/app/src/main/java/com/example/llama/ui/theme/Theme.kt [new file with mode: 0644]
examples/llama.android/app/src/main/java/com/example/llama/ui/theme/Type.kt [new file with mode: 0644]
examples/llama.android/app/src/main/res/drawable/ic_launcher_background.xml [new file with mode: 0644]
examples/llama.android/app/src/main/res/drawable/ic_launcher_foreground.xml [new file with mode: 0644]
examples/llama.android/app/src/main/res/mipmap-anydpi/ic_launcher.xml [new file with mode: 0644]
examples/llama.android/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml [new file with mode: 0644]
examples/llama.android/app/src/main/res/mipmap-hdpi/ic_launcher.webp [new file with mode: 0644]
examples/llama.android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp [new file with mode: 0644]
examples/llama.android/app/src/main/res/mipmap-mdpi/ic_launcher.webp [new file with mode: 0644]
examples/llama.android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp [new file with mode: 0644]
examples/llama.android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp [new file with mode: 0644]
examples/llama.android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp [new file with mode: 0644]
examples/llama.android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp [new file with mode: 0644]
examples/llama.android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp [new file with mode: 0644]
examples/llama.android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp [new file with mode: 0644]
examples/llama.android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp [new file with mode: 0644]
examples/llama.android/app/src/main/res/values/colors.xml [new file with mode: 0644]
examples/llama.android/app/src/main/res/values/strings.xml [new file with mode: 0644]
examples/llama.android/app/src/main/res/values/themes.xml [new file with mode: 0644]
examples/llama.android/app/src/main/res/xml/backup_rules.xml [new file with mode: 0644]
examples/llama.android/app/src/main/res/xml/data_extraction_rules.xml [new file with mode: 0644]
examples/llama.android/build.gradle.kts [new file with mode: 0644]
examples/llama.android/gradle.properties [new file with mode: 0644]
examples/llama.android/gradle/wrapper/gradle-wrapper.jar [new file with mode: 0644]
examples/llama.android/gradle/wrapper/gradle-wrapper.properties [new file with mode: 0644]
examples/llama.android/gradlew [new file with mode: 0755]
examples/llama.android/settings.gradle.kts [new file with mode: 0644]