You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building CTranslate2 from source currently needs multiple downstream workarounds. Core upstream issues:
No PyPI sdist (highest impact)
CTranslate2 publishes wheels but not source distributions, which forces custom source-resolution logic. Ask: Publish sdists to PyPI.
Deprecated FindCUDA path breaks Blackwell arch handling (related: Feature request: CUDA 13 support #1933)
Current FindCUDA/select_compute_arch.cmake behavior drops newer multi-digit CUDA arch majors, requiring manual -gencode fixes. Ask: Migrate to FindCUDAToolkit + CMAKE_CUDA_ARCHITECTURES.
ENABLE_CPU_DISPATCH breaks on unsupported non-x86/non-arm64 arches CPU_ISA_DISPATCH is undefined on targets like ppc64le/s390x. Ask: Add support or gracefully disable/fallback on unsupported arches.
Building CTranslate2 from source currently needs multiple downstream workarounds. Core upstream issues:
No PyPI sdist (highest impact)
CTranslate2 publishes wheels but not source distributions, which forces custom source-resolution logic.
Ask: Publish sdists to PyPI.
Deprecated FindCUDA path breaks Blackwell arch handling (related: Feature request: CUDA 13 support #1933)
Current
FindCUDA/select_compute_arch.cmakebehavior drops newer multi-digit CUDA arch majors, requiring manual-gencodefixes.Ask: Migrate to
FindCUDAToolkit+CMAKE_CUDA_ARCHITECTURES.ENABLE_CPU_DISPATCHbreaks on unsupported non-x86/non-arm64 archesCPU_ISA_DISPATCHis undefined on targets likeppc64le/s390x.Ask: Add support or gracefully disable/fallback on unsupported arches.
setup.pyhardcodes absolute rpaths (related context: Clang unusual switches wrongly hardcoded in resulting setup.py #1704)Absolute paths reduce wheel relocatability.
Ask: Use
$ORIGIN-relative rpaths by default.setup.pyhardcodes GCC-specific flags (related: Clang unusual switches wrongly hardcoded in resulting setup.py #1704)Flags like
-fvisibility=hiddenand-fno-openmp-implicit-rpathcan fail on clang/amdclang.Ask: Gate flags by compiler/toolchain detection.
These fixes would significantly improve portability and reduce downstream patching.