Skip to content

Commit 501ab10

Browse files
authored
[BUG] [Pyinstaller] [IPEX-LLM] Missing dependencies during IPEX-LLM Pyinstallation Process (#22)
* Missing dependencies during IPEX-LLM Pyinstallation Process --------- Co-authored-by: tjtanaa <[email protected]>
1 parent 010fb71 commit 501ab10

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ellm_api_server.spec

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ backend = get_embeddedllm_backend()
3636

3737
binaries_list = []
3838

39-
binaries_list.extend([
40-
(Path('C:\\Windows\\System32\\libomp140.x86_64.dll').as_posix(), '.'),
41-
(Path('C:\\Windows\\System32\\libomp140d.x86_64.dll').as_posix(), '.'),
42-
])
43-
4439
datas_list = [
4540
(Path("src/embeddedllm/entrypoints/api_server.py").resolve().as_posix(), 'embeddedllm/entrypoints'),
4641
]
@@ -85,6 +80,10 @@ elif backend == 'openvino':
8580
add_package('openvino-telemetry')
8681
add_package('openvino-tokenizers')
8782
binaries_list.append((f'{CONDA_PATH.parent}/Library/bin/*', '.'))
83+
binaries_list.extend([
84+
(Path('C:\\Windows\\System32\\libomp140.x86_64.dll').as_posix(), '.'),
85+
(Path('C:\\Windows\\System32\\libomp140d.x86_64.dll').as_posix(), '.'),
86+
])
8887

8988
print(binaries_list)
9089

requirements-ipex.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
trl
22
huggingface-hub~=0.24.3
33
fsspec~=2024.5.0
4-
transformers>=4.43.3
4+
transformers>=4.43.3
5+
importlib-metadata

0 commit comments

Comments
 (0)