Skip to content

Commit e34e529

Browse files
author
Yakub Mohammad
committed
ADAS-31: Rel 0.0.6
1 parent 552065a commit e34e529

File tree

80 files changed

+14092
-154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+14092
-154
lines changed

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@ DerivedData/
1919
.env
2020
models
2121

22+
# Build artifacts
23+
*.o
24+
*.obj
25+
*.so
26+
*.dylib
27+
*.dll
28+
*.a
29+
*.lib
30+
*.exe
31+
*.out
32+
2233

2334
# macOS files
2435
.DS_Store

CHANGELOG.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,53 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
.0.2## [0.0.3] - 2025-08-30
8+
## [0.0.6] - 2025-08-30
9+
10+
### Fixed
11+
- **CMake Path Issue**: Fixed incorrect relative path in CMakeLists.txt that was causing "Cannot find source file" errors
12+
- **Android Build Success**: Resolved CMake configuration issue and successfully built native library
13+
- **Path Resolution**: Corrected `LLAMACPP_LIB_DIR` from `../../cpp` to `../../../cpp` for proper source file location
14+
15+
### Technical
16+
- Android native library now compiles successfully with correct file paths
17+
- CMake build system properly locates all llama.cpp source files
18+
- Ready for real model inference instead of placeholder responses
19+
20+
## [0.0.5] - 2025-08-30
21+
22+
### Fixed
23+
- **ANDROID BUILD SUCCESS**: Fixed all compilation errors and successfully built native library
24+
- Fixed JNI type declarations with proper namespace qualifiers (`rnllama::`)
25+
- Added missing `llama_model_saver.cpp` to CMakeLists.txt
26+
- Fixed CMake configuration to use generic implementation for all architectures
27+
- Added missing `rnllama_verbose` symbol to JNI implementation
28+
- Simplified build to focus on ARM64 architecture (most common for modern Android)
29+
- Removed problematic CMake dependency that was causing build failures
30+
31+
### Technical
32+
- Android native library now compiles successfully with all llama.cpp components
33+
- JNI bridge properly connects Java plugin to C++ llama.cpp library
34+
- Native context management and model loading implemented
35+
- Ready for real model inference instead of placeholder responses
36+
37+
## [0.0.4] - 2025-08-30
38+
39+
### Fixed
40+
- **REAL LLAMA.CPP INTEGRATION**: Replaced placeholder implementations with actual llama.cpp library calls
41+
- Fixed Android JNI implementation to use real llama.cpp functions instead of sample text
42+
- Updated completion method to perform actual text generation using the loaded model
43+
- Fixed getFormattedChat to use native llama.cpp chat formatting
44+
- Added proper native context management with real model loading
45+
- Fixed type conversion issues in parameter extraction
46+
47+
### Technical
48+
- Implemented proper JNI bridge between Java and C++ llama.cpp library
49+
- Added native method declarations for all core functions
50+
- Fixed JSObject parameter extraction with proper type casting
51+
- Added native context ID tracking for proper resource management
52+
- Integrated real tokenization and completion pipeline
53+
54+
## [0.0.3] - 2025-08-30
955

1056
### Fixed
1157
- Fixed Android compilation errors in LlamaCppPlugin.java

android/.cxx/Debug/4f34721l/arm64-v8a/.cmake/api/v1/query/client-agp/cache-v2

Whitespace-only changes.

android/.cxx/Debug/4f34721l/arm64-v8a/.cmake/api/v1/query/client-agp/cmakeFiles-v1

Whitespace-only changes.

android/.cxx/Debug/4f34721l/arm64-v8a/.cmake/api/v1/query/client-agp/codemodel-v2

Whitespace-only changes.

0 commit comments

Comments
 (0)