From 05adc4e013f29ecd22fb6f433d2d93728ff06f91 Mon Sep 17 00:00:00 2001 From: Jamie Pine Date: Sun, 25 Jan 2026 13:19:22 -0800 Subject: [PATCH] Remove additional CUDA and torch compiler module exclusions from PyInstaller build to streamline the process --- .github/workflows/release.yml | 6 +++--- backend/build_binary.py | 16 ---------------- 2 files changed, 3 insertions(+), 19 deletions(-) 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