Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
6facae4
Add some comments to avoid duplicated error-finding
danpetry Jan 7, 2025
63aa7dd
Don't override upstream C++ standard
danpetry Jan 7, 2025
81363c0
Use N-1 cores
danpetry Jan 7, 2025
e8d6740
Add fall-through for blas if-else construct
danpetry Jan 7, 2025
e1f50ac
Don't isolate build
danpetry Jan 7, 2025
9fcb3a7
Unvendor pybind11 and eigen
danpetry Jan 7, 2025
ca90fa0
Add and run upstream smoke test
danpetry Jan 7, 2025
ff040de
Use unittest-xml-reporting instead of the historical xmlrunner
danpetry Jan 14, 2025
a2694a9
Add some testing for openmp bug, python api and torch.compile
danpetry Jan 14, 2025
6074128
reinstate `MAX_JOBS=${CPU_COUNT}` on azure
h-vetinari Jan 15, 2025
407a78d
Add description and doc_url
danpetry Jan 14, 2025
393d0d5
correct selector, move comment
danpetry Jan 14, 2025
0f9b587
Revert "Use N-1 cores"
danpetry Jan 17, 2025
4feaee5
Use N-1 cores by default
danpetry Jan 21, 2025
0fe0ba4
Remove CMAKE_ARGS conversion to individual env variables; legacy, rem…
danpetry Jan 21, 2025
14ca3d2
Hand TORCH_CUDA_ARCH_LIST to cmake rather than setting as an env vari…
danpetry Jan 21, 2025
eaaae74
Improve smoke test env variable comment
danpetry Jan 21, 2025
e19af70
Format patch with git format-patch, rename for clarity
danpetry Jan 21, 2025
939dae1
Bump version
danpetry Jan 21, 2025
af73dbe
Correct build number comment
danpetry Jan 21, 2025
65bcd3b
add build dependency on rsync rather than using platform
danpetry Jan 21, 2025
a26ede2
Don't use selectors in jinja expressions [ci skip] ***NO_CI***
danpetry Jan 23, 2025
03b2fc7
Add back disabling hypothesis tests
danpetry Jan 23, 2025
f3bfe5f
Hand contents of CMAKE_ARGS directly to CMake, to remove TORCH_CUDA_A…
danpetry Jan 23, 2025
a811bb2
Temporarily remove smoke test; it's not in the pytorch repo for v2.5.1
danpetry Jan 23, 2025
bd450c9
Revert "Hand contents of CMAKE_ARGS directly to CMake, to remove TORC…
danpetry Jan 24, 2025
6f49c62
Revert "Remove CMAKE_ARGS conversion to individual env variables; leg…
danpetry Jan 24, 2025
10bfd83
Revert "Use unittest-xml-reporting instead of the historical xmlrunner"
danpetry Jan 24, 2025
46f4e8e
appease linter
danpetry Jan 24, 2025
c1c1e6c
Merge branch 'main' into anaconda-sync
h-vetinari Jan 25, 2025
3a34b59
remove obsolete fmt handling in bld.bat
h-vetinari Jan 26, 2025
e19e11c
add pybind11 as a run-dependency of pytorch
h-vetinari Jan 26, 2025
5f19e7f
build non-CUDA builds on CPU agents
h-vetinari Jan 26, 2025
f6bbd00
MNT: Re-rendered with conda-build 25.1.1, conda-smithy 3.45.4, and co…
h-vetinari Jan 26, 2025
9864e70
Combine header messages into one
danpetry Jan 27, 2025
a002741
Change blas_impl if-else block into a case block instead
danpetry Jan 27, 2025
226f526
Correct cpu/gpu build config
danpetry Jan 27, 2025
ad37dec
MNT: Re-rendered with conda-build 25.1.1, conda-smithy 3.45.4, and co…
danpetry Jan 27, 2025
59af084
Revert "Correct cpu/gpu build config"
danpetry Jan 27, 2025
78b5aca
Run all linux builds on a gpu machine
danpetry Jan 27, 2025
db810d0
MNT: Re-rendered with conda-build 25.1.1, conda-smithy 3.45.4, and co…
danpetry Jan 27, 2025
a623264
update comment about `-std=c++<ver>` flag
h-vetinari Jan 27, 2025
e44b0d5
limit torch.backends CUDA availability tests to linux64
h-vetinari Jan 27, 2025
415a628
Revert change to hand TORCH_CUDA_ARCH_LIST as an environment variable…
danpetry Jan 28, 2025
0a2094f
set CMAKE_INSTALL_PREFIX; used in some installation commands
h-vetinari Jan 28, 2025
3889dee
fix install location of DLLs in CMake metadata; add test
h-vetinari Jan 28, 2025
982cadf
unset CMAKE_INSTALL_PREFIX again; instead, patch ATEN_INCLUDE_DIR
h-vetinari Jan 28, 2025
4683abe
distinguish destinations between lib & bin on windows
h-vetinari Jan 28, 2025
e91c713
do not modify destination for `install(FILES`
h-vetinari Jan 28, 2025
46d06c1
back to deleting DESTINATION, but only for TARGETS
h-vetinari Jan 28, 2025
cdabb36
remove Caffee2 from cmake_test; imported through torch anyway
h-vetinari Jan 28, 2025
89d7354
Skip tests failing due to unsupported GPUs [ci skip] ***NO_CI***
danpetry Jan 28, 2025
8a92b36
backport patch for skipping some inducer test failures
h-vetinari Jan 28, 2025
8338fd7
add cuda compiler for CMake tests of CUDA-enabled libtorch
h-vetinari Jan 29, 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
4 changes: 4 additions & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ export USE_NUMA=0
export USE_ITT=0

#################### ADJUST COMPILER AND LINKER FLAGS #####################
# Pytorch's build system doesn't like us setting the c++ standard and will
# issue a warning:
# https://github.com/pytorch/pytorch/blob/3beb7006dd5a415dfa236081ad5d55ae38346324/CMakeLists.txt#L41
export CXXFLAGS="$(echo $CXXFLAGS | sed 's/-std=c++[0-9][0-9]//g')"
# The below three lines expose symbols that would otherwise be hidden or
# optimised away. They were here before, so removing them would potentially
# break users' programs
Expand Down