llama.cpp/examples/llama.android
Karlon dbbc8a1189
android: fix infinite generation and maintain attention in func shift_context()
Properly maintain stop_generation_position when context is shifted.
Additionally, add variable attention_sink to maintain attention.
Adjust the position of the function after the variable stop_generation_position is defined.

Fixes #18409.
2025-12-30 11:17:00 +08:00
..
app android: routine maintenance - Dec 2025 (#18338) 2025-12-29 15:51:13 +02:00
gradle android: routine maintenance - Dec 2025 (#18338) 2025-12-29 15:51:13 +02:00
lib android: fix infinite generation and maintain attention in func shift_context() 2025-12-30 11:17:00 +08:00
.gitignore android : introduce starter project example (#4926) 2024-01-16 15:47:34 +02:00
build.gradle.kts llama.android : Rewrite Android binding (w/o cpu_features dep) (#17413) 2025-12-17 10:14:47 +02:00
gradle.properties llama.android : Rewrite Android binding (w/o cpu_features dep) (#17413) 2025-12-17 10:14:47 +02:00
gradlew android : introduce starter project example (#4926) 2024-01-16 15:47:34 +02:00
settings.gradle.kts llama.android : Rewrite Android binding (w/o cpu_features dep) (#17413) 2025-12-17 10:14:47 +02:00