Skip to content

The open-source AI voice studio. Clone, dictate, create.

Remove additional CUDA and torch compiler module exclusions from PyInstaller build to streamline the process

Jamie Pine05adc4e013f2
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 987cfb74..8637ab1c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -20,9 +20,9 @@ jobs:
- platform: 'macos-15-intel'
args: '--target x86_64-apple-darwin'
python-version: '3.12'
- - platform: 'ubuntu-22.04'
- args: ''
- python-version: '3.12'
+ # - platform: 'ubuntu-22.04'
+ # args: ''
+ # python-version: '3.12'
- platform: 'windows-latest'
args: ''
python-version: '3.12'
diff --git a/backend/build_binary.py b/backend/build_binary.py
index 31e7ba8d..4793ca5f 100644
--- a/backend/build_binary.py
+++ b/backend/build_binary.py
@@ -45,22 +45,6 @@ def build_server():
'--exclude-module', 'sklearn',
'--exclude-module', 'pandas',
'--exclude-module', 'torchaudio',
- '--exclude-module', 'triton',
- '--exclude-module', 'torch.distributed',
- '--exclude-module', 'torch.jit',
- '--exclude-module', 'torch._dynamo',
- '--exclude-module', 'torch._inductor',
- '--exclude-module', 'nvidia.cuda_nvrtc',
- '--exclude-module', 'nvidia.cuda_runtime',
- '--exclude-module', 'nvidia.cuda_cupti',
- '--exclude-module', 'nvidia.cudnn',
- '--exclude-module', 'nvidia.cublas',
- '--exclude-module', 'nvidia.cufft',
- '--exclude-module', 'nvidia.curand',
- '--exclude-module', 'nvidia.cusolver',
- '--exclude-module', 'nvidia.cusparse',
- '--exclude-module', 'nvidia.nccl',
- '--exclude-module', 'nvidia.nvtx',
])
# Add hidden imports