Skip to content

Commit

Permalink
Include binaries with pyinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
deiteris committed Jul 24, 2024
1 parent 6ccdcc4 commit 23b5bee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/MMVCServerSIO.spec
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ datas += collect_data_files('onnxscript', include_py_files=True)
binaries = []
if backend == 'dml':
binaries += collect_dynamic_libs('torch_directml')
if backend == 'cuda':
binaries += collect_dynamic_libs('nvidia-cudnn-cu12')

hiddenimports = ['app']
hiddenimports += collect_submodules('scipy') # Fix "ModuleNotFoundError: No module named 'scipy._lib.*'"
Expand Down

0 comments on commit 23b5bee

Please sign in to comment.