1. 03 Feb, 2026 1 commit
    • Vadim Markovtsev's avatar
      Support building with headers from nvidia wheels (#2623) · 94ba75d7
      Vadim Markovtsev authored
      
      
      * Support building with headers from nvidia wheels
      
      There are two changes:
      1. `import nvidia` returns a namespace package with `__file__` equal to `None`
      2. Add the way to force headers from nvidia wheels. Without that envvar, it's practically impossible with CUDA installed system-wide.
      
      I successfully built the package with torch using the following `uv` configuration:
      ```
      [tool.uv.extra-build-dependencies]
      "transformer-engine-torch" = [
          "ninja",
          "nvidia-cuda-crt==13.0.88",
          "nvidia-cuda-cccl==13.0.85",
          { requirement = "torch", match-runtime = true },
          { requirement = "pytorch-triton", match-runtime = true },
          { requirement = "nvidia-cusolver", match-runtime = true },
          { requirement = "nvidia-curand", match-runtime = true },
          { requirement = "nvidia-cublas", match-runtime = true },
          { requirement = "nvidia-cusparse", match-runtime = true },
          { requirement = "nvidia-cudnn-cu13", match-runtime = true },
          { requirement = "nvidia-nvtx", match-runtime = true },
          { requirement = "nvidia-cuda-nvrtc", match-runtime = true },
          { requirement = "nvidia-cuda-runtime", match-runtime = true },
      ]
      ```
      Signed-off-by: default avatarVadim Markovtsev <vadim@poolside.ai>
      
      * Apply suggestion from @ksivaman
      Signed-off-by: default avatarKirthi Shankar Sivamani <ksivamani@nvidia.com>
      Signed-off-by: default avatarKirthi Shankar Sivamani <ksivamani@nvidia.com>
      
      ---------
      Signed-off-by: default avatarVadim Markovtsev <vadim@poolside.ai>
      Signed-off-by: default avatarKirthi Shankar Sivamani <ksivamani@nvidia.com>
      Co-authored-by: default avatarKirthi Shankar Sivamani <ksivamani@nvidia.com>
      94ba75d7
  2. 02 Jan, 2026 1 commit
  3. 09 Dec, 2025 1 commit
  4. 23 Oct, 2025 1 commit
  5. 09 Oct, 2025 1 commit
  6. 29 Sep, 2025 1 commit
  7. 26 Aug, 2025 1 commit
  8. 10 Jun, 2025 1 commit
  9. 04 Jun, 2025 1 commit
  10. 22 May, 2025 1 commit
  11. 14 May, 2025 1 commit
  12. 28 Apr, 2025 1 commit
  13. 20 Mar, 2025 1 commit
  14. 07 Feb, 2025 1 commit
  15. 02 Jan, 2025 1 commit
  16. 03 Sep, 2024 1 commit
  17. 24 Aug, 2024 1 commit
  18. 16 Aug, 2024 1 commit
  19. 12 Aug, 2024 1 commit
  20. 25 Jul, 2024 1 commit
  21. 08 Jul, 2024 1 commit
  22. 26 Jun, 2024 1 commit
  23. 24 Jun, 2024 1 commit
  24. 14 Jun, 2024 1 commit
  25. 13 Jun, 2024 1 commit
  26. 06 Jun, 2024 1 commit