pytorch/c10
Zhengxu Chen 24aadb40fb [precompile] Serialization for GlobalStateGuard (#150636)
Summary: To preserve global state guards we need to make the C++ type serialzable. Using json because it's easier to do and we don't have a lot of data in global state.

Test Plan: test_dynamo -k test_global_state_guard_serialization

Differential Revision: D72410611

Pull Request resolved: https://github.com/pytorch/pytorch/pull/150636
Approved by: https://github.com/williamwen42
2025-04-07 03:10:03 +00:00
..
benchmark Set RUNPATH so installed tests can find the required shared libraries (#136627) 2024-10-25 09:38:08 +00:00
core [dynamic shapes] C++ bindings for guard_or_false/true (#150148) 2025-03-31 17:04:25 +00:00
cuda Suppress -Wunused-function for DSA (#150735) 2025-04-07 01:47:35 +00:00
hip Use torch_compile_options for c10 libraries (#147821) 2025-03-18 01:54:23 +00:00
macros Enable move warnings for torch targets (#149923) 2025-03-26 08:38:13 +00:00
metal [MPSInductor] Speedup sum/prod reductions (#150566) 2025-04-05 02:47:27 +00:00
mobile [2/N] Fix extra warnings brought by clang-tidy-17 (#137459) 2024-10-08 19:05:02 +00:00
test Use std::string_view in get_fully_qualified_type_name (#145197) 2025-03-14 01:58:35 +00:00
util [precompile] Serialization for GlobalStateGuard (#150636) 2025-04-07 03:10:03 +00:00
xpu [XPU] Add an implict conversion from XPUStream to sycl::queue* (#148646) 2025-04-03 08:12:38 +00:00
BUCK.oss
BUILD.bazel
build.bzl Use c10 version of half/bfloat16 in executorch (#144111) 2025-02-08 22:40:14 +00:00
CMakeLists.txt Use torch_compile_options for c10 libraries (#147821) 2025-03-18 01:54:23 +00:00
ovrsource_defs.bzl [NeuralNetInference] Bring up iOS builds (#131917) 2024-07-30 23:01:09 +00:00