Skip to content

Updates for numpy 2

loqs requested to merge loqs/tensorflow:numpy2 into main
  • Update _pkgver to 2.18.0-rc1 so source is updated. Update pkgver to 2.18.0rc1.
  • Update variables for hermetic CUDA using system CUDA, CUDNN, NCCL
    • Rename TF_CUDA_VERSION to HERMETIC_CUDA_VERSION and converted to required triplet form.
    • Rename TF_CUDNN_VERSION to HERMETIC_CUDNN_VERSION and converted to required triplet form.
    • Rename TF_CUDA_COMPUTE_CAPABILITIES to HERMETIC_CUDA_COMPUTE_CAPABILITIES.
  • Switch CUDA builds to config=cuda_wheel
    • Prevents build failure with: TF wheel shouldn't be built with CUDA dependencies. Please provide --config=cuda_wheel for bazel build command. If you absolutely need to add CUDA dependencies, provide --@local_config_cuda//cuda:override_include_cuda_libs=true.
  • Stop using system CUDA, CUDNN, NCCL
  • Add patch supporting Nvidia 560 series driver.
  • Switch CUDA builds to config=cuda_clang config=cuda_wheel
    • This is the only config I can get to build and it will only build if the system CUDA is not used this config adds lld to makedepends.
  • Add patch for clang to detect CUDA version.
Edited by loqs

Merge request reports

Loading