Skip to content

Commit

Permalink
Merge branch 'nexa-sdk-upgrade' into teliu/Android-Audio
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryT9 authored Dec 5, 2024
2 parents 8f17535 + f8a8a6d commit 17bacb2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class VlmModelManager {
// For nanollava
// private static final String MODEL_TEXT_FILENAME = "nanollava-model-q8_0.gguf";
// private static final String MODEL_MMPROJ_FILENAME = "nanollava-projector-fp16.gguf";
//

// For Omnivision
private static final String MODEL_TEXT_FILENAME = "model-q8_0.gguf";
private static final String MODEL_MMPROJ_FILENAME = "projector-fp16.gguf";
Expand Down
1 change: 0 additions & 1 deletion android/llama/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ FetchContent_Declare(
GIT_REPOSITORY https://github.com/NexaAI/llama.cpp.git
GIT_TAG master
)

FetchContent_Declare(
llava
GIT_REPOSITORY https://github.com/NexaAI/llama.cpp.git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class NexaOmniVlmInference(
private var generatedTokenNum: Int = 0
private var generatedText: String = ""
private var isModelLoaded: Boolean = false
private var type:String = "vlm-81-ocr"
private var type:String = "vlm-81-instruct"

private external fun init(model: String, proj: String, type: String)
private external fun sampler_free(sampler:Long)
Expand Down

0 comments on commit 17bacb2

Please sign in to comment.