Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9805da0
Bump to 2.9.0
mgorny Oct 23, 2025
abe694c
Rebuild for python 3.14
regro-cf-autotick-bot Oct 1, 2025
68d935f
MNT: Re-rendered with conda-smithy 3.52.3 and conda-forge-pinning 202…
mgorny Oct 23, 2025
5abcfa5
Revert rerendering the GitHub workflow
mgorny Oct 23, 2025
9441c83
[TESTING] Build only for sm70
mgorny Oct 23, 2025
2bf21ff
[TESTING] Limit to py3.12 + py3.14
mgorny Oct 23, 2025
6e4f2c9
MNT: Re-rendered with conda-smithy 3.52.3 and conda-forge-pinning 202…
mgorny Oct 23, 2025
10dd520
Update the fbgemm Windows patch
mgorny Oct 23, 2025
ea8fa8a
Print result for failing test assertion
mgorny Oct 24, 2025
9e3df39
Remove py3.14 after all
mgorny Oct 24, 2025
eed1479
MNT: Re-rendered with conda-smithy 3.52.3 and conda-forge-pinning 202…
mgorny Oct 24, 2025
364e171
Rebuild for pybind11 3 and pybind11_abi 11
regro-cf-autotick-bot Sep 21, 2025
f466623
MNT: Re-rendered with conda-smithy 3.52.3 and conda-forge-pinning 202…
mgorny Oct 25, 2025
9f07910
Try setting PYTORCH_BLAS_USE_CBLAS_DOT for AArch64 cross
mgorny Oct 27, 2025
550e5c3
Backport fmt header install fix
mgorny Oct 27, 2025
29b1abe
Try to fix enabling FBGEMM on Windows
mgorny Oct 27, 2025
3ccd958
Try fixing inductor include paths for CUDA target
mgorny Oct 27, 2025
64e8923
Revert "Try to fix enabling FBGEMM on Windows"
mgorny Oct 28, 2025
ef969bd
Revert "Backport fmt header install fix"
mgorny Oct 28, 2025
c0ddcac
Use system fmt
mgorny Oct 28, 2025
f2edbb9
Enable fmt 12 migration
mgorny Oct 28, 2025
f6965b6
MNT: Re-rendered with conda-smithy 3.52.3 and conda-forge-pinning 202…
mgorny Oct 28, 2025
5b1fd96
asmjit & fbgemm are no longer built on Windows
mgorny Oct 28, 2025
e67e004
Include lib/stubs in library path as well
mgorny Oct 28, 2025
27080ca
Pass /UTF-8 to MSVC in CMake test
mgorny Oct 28, 2025
4406462
Try using CUDA_TARGET in library directory
mgorny Oct 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,17 @@ elif [[ ${cuda_compiler_version} != "None" ]]; then
export CUDAToolkit_ROOT=${PREFIX}
case ${target_platform} in
linux-64)
export CUDAToolkit_TARGET_DIR=${PREFIX}/targets/x86_64-linux
CUDA_TARGET=x86_64-linux
;;
linux-aarch64)
export CUDAToolkit_TARGET_DIR=${PREFIX}/targets/sbsa-linux
CUDA_TARGET=sbsa-linux
;;
*)
echo "unknown CUDA arch, edit build.sh"
exit 1
esac
export CUDAToolkit_TARGET_DIR=${PREFIX}/targets/${CUDA_TARGET}
sed -i -e "s,@CUDA_TARGET@,${CUDA_TARGET}," torch/_inductor/cpp_builder.py

# Compatibility matrix for update: https://en.wikipedia.org/wiki/CUDA#GPUs_supported
# Warning from pytorch v1.12.1: In the future we will require one to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From b06c89a4b491c3137da0325212fb7481ecabfe19 Mon Sep 17 00:00:00 2001
From 2ece5dedfbb4783ddfb5985567ce0b3d12076a17 Mon Sep 17 00:00:00 2001
From: Daniel Petry <[email protected]>
Date: Tue, 21 Jan 2025 17:45:23 -0600
Subject: [PATCH 07/13] Add conda prefix to inductor include paths
Subject: [PATCH 07/15] Add conda prefix to inductor include paths

Currently inductor doesn't look in conda's includes and libs. This results in
errors when it tries to compile, if system versions are being used of
Expand All @@ -13,18 +13,19 @@ end user provides a <filename>_compile_flags.json file.
Updated to use `sys.prefix` per
https://github.com/conda-forge/pytorch-cpu-feedstock/issues/424.
---
torch/_inductor/cpp_builder.py | 1 +
1 file changed, 1 insertion(+)
torch/_inductor/cpp_builder.py | 2 ++
1 file changed, 2 insertions(+)

diff --git a/torch/_inductor/cpp_builder.py b/torch/_inductor/cpp_builder.py
index e2cb445ed10..120fae77475 100644
index e2cb445ed10..a8fe5402f66 100644
--- a/torch/_inductor/cpp_builder.py
+++ b/torch/_inductor/cpp_builder.py
@@ -1410,6 +1410,7 @@ def get_cpp_torch_options(
@@ -1410,6 +1410,8 @@ def get_cpp_torch_options(
+ python_include_dirs
+ torch_include_dirs
+ omp_include_dir_paths
+ + [sys.prefix + '/include']
+ + [sys.prefix + '/targets/@CUDA_TARGET@/include']
)
cflags = sys_libs_cflags + omp_cflags
ldflags = omp_ldflags
Loading