Skip to content

Commit f88ab69

Browse files
committed
v0.0.9
* Major internal refactoring to improve code organization and maintainability * Fixed critical bug where subsequent prompts would fail due to batch seq_id memory management * Improved position tracking for continuous conversation support * Enhanced error handling and debugging capabilities * Added foundation for future chat optimization features * Breaking change: Internal API restructuring (public API remains stable)
1 parent a9c33a6 commit f88ab69

26 files changed

+1683
-1400
lines changed

BUILD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The project includes llama.cpp as a submodule and requires native binaries for v
6262

6363
5. Run the build script:
6464
```bash
65-
./build.sh
65+
./darwin/build.sh
6666
```
6767

6868
### Available Platforms

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 0.0.9
2+
* Major internal refactoring to improve code organization and maintainability
3+
* Fixed critical bug where subsequent prompts would fail due to batch seq_id memory management
4+
* Improved position tracking for continuous conversation support
5+
* Enhanced error handling and debugging capabilities
6+
* Added foundation for future chat optimization features
7+
* Breaking change: Internal API restructuring (public API remains stable)
8+
19
## 0.0.8
210
* disabled llava
311
* compatible with llama.cpp 42ae10bb

darwin/run_build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ build_for_platform() {
4141
-DLLAMA_BUILD_TESTS=OFF \
4242
-DLLAMA_BUILD_EXAMPLES=OFF \
4343
-DLLAMA_BUILD_SERVER=OFF \
44+
-DLLAMA_BUILD_TOOLS=OFF \
4445
-DCMAKE_BUILD_TYPE=Release \
4546
-G Xcode \
4647
-DCMAKE_TOOLCHAIN_FILE="${script_dir}/ios-arm64.toolchain.cmake" \
@@ -54,7 +55,7 @@ build_for_platform() {
5455
-DCMAKE_INSTALL_PREFIX="./install" \
5556
..
5657

57-
cmake --build . --config Release
58+
cmake --build . --config Release -j
5859
cmake --install . --config Release
5960

6061
# Copy libraries
-52.4 KB
Binary file not shown.

example/android/gradlew

Lines changed: 0 additions & 160 deletions
This file was deleted.

example/android/gradlew.bat

Lines changed: 0 additions & 90 deletions
This file was deleted.

example/android/llama_cpp_dart_example_android.iml

Lines changed: 0 additions & 29 deletions
This file was deleted.

example/android/local.properties

Lines changed: 0 additions & 2 deletions
This file was deleted.

example/apple_pie.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void main() async {
1818
samplerParams.penaltyRepeat = 1.1;
1919

2020
Llama.libraryPath = "bin/MAC_ARM64/libllama.dylib";
21-
String modelPath = "/Users/adel/Workspace/gguf/gemma-3-12b-it-Q4_K_M.gguf";
21+
String modelPath = "/Users/adel/Workspace/gguf/gemma-3-12b-it-q4_0.gguf";
2222
Llama llama = Llama(modelPath, ModelParams(), contextParams, samplerParams);
2323

2424
llama.setPrompt(

0 commit comments

Comments
 (0)