Revert "Enable mimalloc on non-Windows platforms and make default for AArch64 builds (#164741)"

This reverts commit 87eccf10e8484c9e59ef81ae7bdee68d3db4f605.

Reverted https://github.com/pytorch/pytorch/pull/164741 on behalf of https://github.com/malfet due to But it breaks MacOS builds, see https://github.com/pytorch/pytorch/actions/runs/18382886648/job/52373781138 ([comment](https://github.com/pytorch/pytorch/pull/164741#issuecomment-3386859778))
This commit is contained in:
PyTorch MergeBot
2025-10-09 17:30:22 +00:00
parent 91040f4934
commit 688efd9741
3 changed files with 10 additions and 11 deletions

View File

@ -225,7 +225,7 @@
#
# USE_MIMALLOC
# Static link mimalloc into C10, and use mimalloc in alloc_cpu & alloc_free.
# By default, It is only enabled on Windows and AArch64.
# By default, It is only enabled on Windows.
#
# BUILD_LIBTORCH_WHL
# Builds libtorch.so and its dependencies as a wheel