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

@ -1,4 +1,5 @@
#include <torch/csrc/jit/serialization/pickle.h>
#include <torch/csrc/jit/serialization/pickler.h>
#include <torch/serialize.h>
#include <vector>