File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/llama_cpp_server_python Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 7
7
from pathlib import Path
8
8
9
9
_SCRIPT = """
10
- curl -s https://raw.githubusercontent.com/NickCrews/llama.cpp/dcd044206696c4c8ec0620f2376f80daa608179b /download-release.sh | bash -s -- {dest_dir} {options}
10
+ curl -s https://raw.githubusercontent.com/NickCrews/llama.cpp/ea325e0eefb30b9d9cc8cdcd2ca227c71e063d2c/scripts /download-release.sh | bash -s -- {dest_dir} {options}
11
11
"""
12
12
13
13
logger = logging .getLogger (__name__ )
@@ -25,7 +25,7 @@ def download_binary(
25
25
"""
26
26
Download the llama.cpp server binary.
27
27
28
- Uses https://raw.githubusercontent.com/NickCrews/llama.cpp/dcd044206696c4c8ec0620f2376f80daa608179b /download-release.sh
28
+ Uses https://raw.githubusercontent.com/NickCrews/llama.cpp/ea325e0eefb30b9d9cc8cdcd2ca227c71e063d2c/scripts /download-release.sh
29
29
to download the binary.
30
30
31
31
Parameters
@@ -55,6 +55,8 @@ def download_binary(
55
55
script = _SCRIPT .format (dest_dir = tmpdir , options = options_str )
56
56
logger .info (f"Downloading llama.cpp server binary using '{ script } '" )
57
57
completed = subprocess .run (script , shell = True , check = True , capture_output = True )
58
+ print (completed .stdout )
59
+ print (completed .stderr )
58
60
logger .info (completed .stdout )
59
61
logger .info (completed .stderr )
60
62
raw_path = tmpdir + "/llama-server"
You can’t perform that action at this time.
0 commit comments