mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-26 13:45:16 -07:00
Update provider documentation and enhance build configurations
- Clarified the bundling of PyTorch CPU providers for Windows and macOS Intel builds in documentation. - Improved handling of platform-specific dependencies in the build process, including asyncio support for PyInstaller. - Updated backend logic to gracefully handle missing dependencies and provide clearer error messages. - Enhanced progress management to ensure compatibility with PyInstaller's async handling. - Removed unnecessary exclusions from the build scripts for PyTorch providers to streamline the build process.
This commit is contained in:
@@ -55,23 +55,7 @@ def build_provider():
|
||||
'--hidden-import', 'numpy',
|
||||
'--hidden-import', 'librosa',
|
||||
])
|
||||
|
||||
# Exclude large unused modules to reduce binary size
|
||||
args.extend([
|
||||
'--exclude-module', 'torch.utils.tensorboard',
|
||||
'--exclude-module', 'tensorboard',
|
||||
'--exclude-module', 'triton',
|
||||
'--exclude-module', 'torch._dynamo',
|
||||
'--exclude-module', 'torch._inductor',
|
||||
'--exclude-module', 'torch.utils.benchmark',
|
||||
'--exclude-module', 'IPython',
|
||||
'--exclude-module', 'matplotlib',
|
||||
'--exclude-module', 'PIL',
|
||||
'--exclude-module', 'cv2',
|
||||
'--exclude-module', 'torchvision',
|
||||
'--exclude-module', 'torchaudio',
|
||||
])
|
||||
|
||||
|
||||
args.extend([
|
||||
'--noconfirm',
|
||||
'--clean',
|
||||
|
||||
Reference in New Issue
Block a user