Skip to content

Commit 4d9920f

Browse files
kurtamohlerpytorchmergebot
authored andcommitted
Move PyInterpreter code in python_variable.cpp to its own files (pytorch#92647)
Part of pytorch#91395 Pull Request resolved: pytorch#92647 Approved by: https://github.com/ezyang, https://github.com/albanD
1 parent 4bc0491 commit 4d9920f

8 files changed

+828
-802
lines changed

aten/src/ATen/core/PythonOpRegistrationTrampoline.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#pragma once
2+
13
#include <ATen/core/dispatch/Dispatcher.h>
24

35
// TODO: this can probably live in c10

build_variables.bzl

+1
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,7 @@ libtorch_python_core_sources = [
895895
"torch/csrc/MemoryFormat.cpp",
896896
"torch/csrc/QScheme.cpp",
897897
"torch/csrc/Module.cpp",
898+
"torch/csrc/PyInterpreter.cpp",
898899
"torch/csrc/python_dimname.cpp",
899900
"torch/csrc/Size.cpp",
900901
"torch/csrc/Storage.cpp",

0 commit comments

Comments
 (0)