pytorch/c10/core
Yu, Guangye 7ee45f7503 Restore AcceleratorAllocatorConfig to avoid potential regression (#165129)
# Motivation
This PR aims to restore `AcceleratorAllocatorConfig` to avoid the potential regression mentioned in https://github.com/pytorch/pytorch/pull/160666#issue-3323270375
These code change would be reverted in the following PR https://github.com/pytorch/pytorch/pull/165304
Pull Request resolved: https://github.com/pytorch/pytorch/pull/165129
Approved by: https://github.com/albanD
2025-10-16 15:26:17 +00:00
..
impl Remove unnecessary "static" for definitions in anonymous namespace (#165035) 2025-10-11 00:04:23 +00:00
alignment.h
Allocator.cpp
Allocator.h [sigmoid] memory planner C10 deps (#151275) 2025-04-24 01:46:32 +00:00
AllocatorConfig.cpp Restore AcceleratorAllocatorConfig to avoid potential regression (#165129) 2025-10-16 15:26:17 +00:00
AllocatorConfig.h Revert "Generalize torch._C._set_allocator_settings to be generic (#156175)" (#161626) 2025-08-27 21:37:14 +00:00
AutogradState.cpp
AutogradState.h
Backend.h [MPS] coalesce for sparse tensors (#159729) 2025-08-08 13:49:55 +00:00
BUILD.bazel
build.bzl Organize BUCK for torch/standalone (#156503) 2025-06-25 22:56:15 +00:00
CachingDeviceAllocator.cpp Add DeviceAllocator as the base device allocator (#138222) 2025-08-08 17:41:10 +00:00
CachingDeviceAllocator.h Add DeviceAllocator as the base device allocator (#138222) 2025-08-08 17:41:10 +00:00
CompileTimeFunctionPointer.h
ConstantSymNodeImpl.cpp
ConstantSymNodeImpl.h
Contiguity.h symbolic cpp channels_last_contiguous (#160402) 2025-09-05 21:40:32 +00:00
CopyBytes.cpp
CopyBytes.h
CPUAllocator.cpp Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
CPUAllocator.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
DefaultDtype.cpp
DefaultDtype.h
DefaultTensorOptions.h
Device.cpp [Device] Add support for PrivateUse1 device type in parse_type function (#157609) 2025-07-17 01:27:44 +00:00
Device.h [PyTorch Core] MTIA supports arbitrary strides (#157883) 2025-07-11 18:54:21 +00:00
DeviceArray.h
DeviceGuard.h [2/N] Fix clang-tidy readability checks (#164652) 2025-10-06 01:06:01 +00:00
DeviceType.cpp Fix: Use memory_order_relaxed instead of memory_order_relaxed (#159105) 2025-07-25 19:39:04 +00:00
DeviceType.h Migrate DeviceType to torch/headeronly (#163999) 2025-09-30 23:13:27 +00:00
DispatchKey.cpp [MPS] Add boilerplate sparse code support (#157238) 2025-06-30 01:53:45 +00:00
DispatchKey.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
DispatchKeySet.cpp Do not decompose in functionalization/proxy tensor if autograd wouldn't have decomposed (#164939) 2025-10-11 01:03:55 +00:00
DispatchKeySet.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
DynamicCast.h
Event.h Don't return values in void functions (#164809) 2025-10-08 01:04:14 +00:00
GeneratorImpl.cpp Avoid std::chrono::system_clock (#153135) 2025-05-08 16:30:29 +00:00
GeneratorImpl.h
GradMode.cpp
GradMode.h
InferenceMode.cpp
InferenceMode.h
Layout.h [MPS] coalesce for sparse tensors (#159729) 2025-08-08 13:49:55 +00:00
MemoryFormat.h
OptionalRef.h
PyHandleCache.h
QEngine.h
QScheme.h
RefcountedDeleter.cpp
RefcountedDeleter.h [BE] fix typos in c10/ (#156078) 2025-06-18 10:24:44 +00:00
SafePyObject.cpp
SafePyObject.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
Scalar.cpp
Scalar.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
ScalarType.cpp add torch.float4_e2m1fn_x2 to PyTorch (#148791) 2025-03-27 17:32:20 +00:00
ScalarType.h Move toString(ScalarType) and ScalarType ostream operator to headeronly (#164405) 2025-10-16 00:55:43 +00:00
ScalarTypeToTypeMeta.h
Storage.cpp
Storage.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
StorageImpl.cpp
StorageImpl.h [sigmoid] memory planner C10 deps (#151275) 2025-04-24 01:46:32 +00:00
Stream.cpp
Stream.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
StreamGuard.h [2/N] Fix clang-tidy readability checks (#164652) 2025-10-06 01:06:01 +00:00
SymbolicShapeMeta.cpp symbolic cpp channels_last_contiguous (#160402) 2025-09-05 21:40:32 +00:00
SymbolicShapeMeta.h [attempt 2] Compute contiguity symbolically to avoid dde, and introduce c++ sym_is_contiguous (#157472) 2025-07-02 23:12:29 +00:00
SymBool.cpp Support C++ statically_known_true (#151346) 2025-04-18 06:42:12 +00:00
SymBool.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
SymFloat.cpp
SymFloat.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
SymInt.cpp more sizelike deprecation (#164889) 2025-10-10 03:45:06 +00:00
SymInt.h more sizelike deprecation (#164889) 2025-10-10 03:45:06 +00:00
SymIntArrayRef.cpp
SymIntArrayRef.h Use sym_eq in _check_rms_norm_inputs_symint (#165112) 2025-10-14 00:06:24 +00:00
SymNodeImpl.cpp
SymNodeImpl.h more sizelike deprecation (#164889) 2025-10-10 03:45:06 +00:00
TensorImpl.cpp Remove guard_size_oblivious from default contiguity python check, and add aten.sym_is_contiguous. [attempt2] (#160869) 2025-09-08 22:59:13 +00:00
TensorImpl.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
TensorOptions.cpp
TensorOptions.h
thread_pool.cpp Fix extra semicolon warning (#148291) 2025-03-03 18:51:44 +00:00
thread_pool.h
UndefinedTensorImpl.cpp Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
UndefinedTensorImpl.h [attempt 2] Compute contiguity symbolically to avoid dde, and introduce c++ sym_is_contiguous (#157472) 2025-07-02 23:12:29 +00:00
WrapDimMinimal.cpp Bump Clang-tidy to 19.1.4 (#148648) 2025-03-10 17:32:30 +00:00
WrapDimMinimal.h