Skip to content

Commit

Permalink
[BUG] [Pyinstaller] [IPEX-LLM] Missing dependencies during IPEX-LLM P…
Browse files Browse the repository at this point in the history
…yinstallation Process (#22)

* Missing dependencies during IPEX-LLM Pyinstallation Process

---------

Co-authored-by: tjtanaa <[email protected]>
  • Loading branch information
tjtanaa and tjtanaa authored Aug 9, 2024
1 parent 010fb71 commit 501ab10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 4 additions & 5 deletions ellm_api_server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ backend = get_embeddedllm_backend()

binaries_list = []

binaries_list.extend([
(Path('C:\\Windows\\System32\\libomp140.x86_64.dll').as_posix(), '.'),
(Path('C:\\Windows\\System32\\libomp140d.x86_64.dll').as_posix(), '.'),
])

datas_list = [
(Path("src/embeddedllm/entrypoints/api_server.py").resolve().as_posix(), 'embeddedllm/entrypoints'),
]
Expand Down Expand Up @@ -85,6 +80,10 @@ elif backend == 'openvino':
add_package('openvino-telemetry')
add_package('openvino-tokenizers')
binaries_list.append((f'{CONDA_PATH.parent}/Library/bin/*', '.'))
binaries_list.extend([
(Path('C:\\Windows\\System32\\libomp140.x86_64.dll').as_posix(), '.'),
(Path('C:\\Windows\\System32\\libomp140d.x86_64.dll').as_posix(), '.'),
])

print(binaries_list)

Expand Down
3 changes: 2 additions & 1 deletion requirements-ipex.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
trl
huggingface-hub~=0.24.3
fsspec~=2024.5.0
transformers>=4.43.3
transformers>=4.43.3
importlib-metadata

0 comments on commit 501ab10

Please sign in to comment.