fix/llamacpp_prebuilt_install (#5135)
* fix/llamacpp_prebuilt_installinclude libllama-common.so in bundle as its needed by llama.cpp now * include support for rocm linux
This commit is contained in:
parent
2bd6d544ff
commit
a1fb7c1297
1 changed files with 4 additions and 0 deletions
|
|
@ -3640,6 +3640,7 @@ def runtime_patterns_for_choice(choice: AssetChoice) -> list[str]:
|
|||
return [
|
||||
"llama-server",
|
||||
"llama-quantize",
|
||||
"libllama-common.so*",
|
||||
"libllama.so*",
|
||||
"libggml.so*",
|
||||
"libggml-base.so*",
|
||||
|
|
@ -4929,6 +4930,7 @@ def load_prebuilt_metadata(install_dir: Path) -> dict[str, Any] | None:
|
|||
def runtime_payload_health_groups(choice: AssetChoice) -> list[list[str]]:
|
||||
if choice.install_kind == "linux-cpu":
|
||||
return [
|
||||
["libllama-common.so*"],
|
||||
["libllama.so*"],
|
||||
["libggml.so*"],
|
||||
["libggml-base.so*"],
|
||||
|
|
@ -4937,6 +4939,7 @@ def runtime_payload_health_groups(choice: AssetChoice) -> list[list[str]]:
|
|||
]
|
||||
if choice.install_kind == "linux-cuda":
|
||||
return [
|
||||
["libllama-common.so*"],
|
||||
["libllama.so*"],
|
||||
["libggml.so*"],
|
||||
["libggml-base.so*"],
|
||||
|
|
@ -4952,6 +4955,7 @@ def runtime_payload_health_groups(choice: AssetChoice) -> list[list[str]]:
|
|||
]
|
||||
if choice.install_kind == "linux-rocm":
|
||||
return [
|
||||
["libllama-common.so*"],
|
||||
["libllama.so*"],
|
||||
["libggml.so*"],
|
||||
["libggml-base.so*"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue