8000 Updated llama.cpp to the latest GGML commit by polkaulfield · Pull Request #1 · dsd/sherpa · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Updated llama.cpp to the latest GGML commit #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you accou 8000 nt related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 13 additions & 28 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,34 +63,19 @@ android {
}

signingConfigs {

release {
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
keyAlias keystoreProperties['releaseAlias']
keyPassword keystoreProperties['releasePassword']
}

debug {
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
keyAlias keystoreProperties['releaseAlias']
keyPassword keystoreProperties['releasePassword']
}

}

buildTypes {
release {
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}

debug {
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}

buildTypes {
release {
signingConfig signingConfigs.release
}
}

externalNativeBuild {
cmake {
Expand Down
2 changes: 1 addition & 1 deletion src/llama.cpp
2 changes: 1 addition & 1 deletion src/llamasherpa/llamasherpa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static std::vector<llama_token> embd_inp;

int llamasherpa_start(const char *model_path, const char *_prompt, const char *_antiprompt, show_output_cb *show_output) {

llama_init_backend(false);
llama_backend_init(false);
antiprompt = _antiprompt;

// load the model and apply lora adapter, if any
Expand Down
0