pytorch/c10
Yu, Guangye e6b68359d7 Fix xpu memory stats error (#135818)
# Motivation
fix https://github.com/pytorch/pytorch/issues/135726
After merging two free blocks, I made a stupid mistake of ignoring the correct size to decrease the active memory size, which should be the original block size instead of the merged block size.

# Additional Context
Add a UT to guard this scenario.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/135818
Approved by: https://github.com/EikanWang
2024-09-13 02:41:21 +00:00
..
benchmark [Split Build] Add option to create libtorch wheel and use it to build pytorch as a separate wheel (#126328) 2024-05-29 04:33:56 +00:00
core [Reland] Refactor caching device allocator utils (#130923) 2024-09-07 11:14:17 +00:00
cuda [Reland] Refactor caching device allocator utils (#130923) 2024-09-07 11:14:17 +00:00
hip [Split Build] Add option to create libtorch wheel and use it to build pytorch as a separate wheel (#126328) 2024-05-29 04:33:56 +00:00
macros add msg to _assert_async (#134813) 2024-09-03 06:33:18 +00:00
mobile
test [Fix] Check name when registering privateuse1 backend (#134071) 2024-08-27 20:28:30 +00:00
util Fix build warnings for torch_python (#134981) 2024-09-12 03:59:34 +00:00
xpu Fix xpu memory stats error (#135818) 2024-09-13 02:41:21 +00:00
BUCK.oss
BUILD.bazel
build.bzl
CMakeLists.txt Link libc10 to pthreads (#132484) 2024-08-02 18:03:44 +00:00
ovrsource_defs.bzl [NeuralNetInference] Bring up iOS builds (#131917) 2024-07-30 23:01:09 +00:00