File tree Expand file tree Collapse file tree 2 files changed +12
-15
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +12
-15
lines changed
Original file line number Diff line number Diff line change 29
29
python3 -m pip install pyinstaller
30
30
31
31
- name : Build package
32
- run : pyinstaller --onefile llama-server.spec
32
+ run : pyinstaller llama-server.spec
33
33
34
34
- name : upload artifact
35
35
uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ a = Analysis(
8
8
['llama_cpp/server/__main__.py' ],
9
9
pathex = [],
10
10
binaries = [],
11
- datas = [('/home/runner/work/llama-cpp-python/llama-cpp-python/llama_cpp/libllama.so' ,'./llama_cpp/' )],
11
+ datas = [
12
+ ('/home/runner/work/llama-cpp-python/llama-cpp-python/llama_cpp/libllama.so' ,'./llama_cpp/' ),
13
+ ('/home/runner/work/llama-cpp-python/llama-cpp-python/llama_cpp/libllava.so' ,'./llama_cpp/' )
14
+ ],
12
15
hiddenimports = [],
13
16
hookspath = [],
14
17
hooksconfig = {},
@@ -24,27 +27,21 @@ pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
24
27
exe = EXE (
25
28
pyz ,
26
29
a .scripts ,
30
+ a .binaries ,
31
+ a .zipfiles ,
32
+ a .datas ,
27
33
[],
28
- exclude_binaries = True ,
29
- name = 'llama-server' ,
30
- debug = True ,
34
+ name = 'llama-server.spec' ,
35
+ debug = False ,
31
36
bootloader_ignore_signals = False ,
32
37
strip = False ,
33
38
upx = True ,
39
+ upx_exclude = [],
40
+ runtime_tmpdir = None ,
34
41
console = True ,
35
42
disable_windowed_traceback = False ,
36
43
argv_emulation = False ,
37
44
target_arch = None ,
38
45
codesign_identity = None ,
39
46
entitlements_file = None ,
40
47
)
41
- coll = COLLECT (
42
- exe ,
43
- a .binaries ,
44
- a .zipfiles ,
45
- a .datas ,
46
- strip = False ,
47
- upx = True ,
48
- upx_exclude = [],
49
- name = 'llama-server' ,
50
- )
You can’t perform that action at this time.
0 commit comments