Revert "Fix the Problems About Defining Static Variable in Inline Function (#147095)"

This reverts commit 3da14d38bd396f5bbe8494872d1509efa1a6f048.

Reverted https://github.com/pytorch/pytorch/pull/147095 on behalf of https://github.com/atalman due to breaks internally ([comment](https://github.com/pytorch/pytorch/pull/147095#issuecomment-2787129770))
This commit is contained in:
PyTorch MergeBot
2025-04-08 17:10:36 +00:00
parent 3e0038ae85
commit 4926bd6004
12 changed files with 49 additions and 49 deletions

View File

@ -5,6 +5,7 @@
#endif
#include <torch/csrc/jit/api/function_impl.h>
#include <torch/csrc/jit/mobile/type_parser.h>
#include <torch/csrc/jit/serialization/pickler.h>
#include <torch/csrc/jit/serialization/storage_context.h>
#include <torch/csrc/jit/serialization/unpickler.h>
#include <torch/csrc/utils/byte_order.h>