mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Similar to https://github.com/pytorch/pytorch/pull/39608 and https://github.com/pytorch/pytorch/pull/6676 This causes a compile error in our internal build. Pull Request resolved: https://github.com/pytorch/pytorch/pull/89310 Approved by: https://github.com/kit1980
19 lines
432 B
C++
19 lines
432 B
C++
#ifndef __STDC_FORMAT_MACROS
|
|
#define __STDC_FORMAT_MACROS
|
|
#endif
|
|
|
|
// Order of these includes matters, which should be fixed.
|
|
// clang-format off
|
|
#include <torch/csrc/python_headers.h>
|
|
#include <structmember.h>
|
|
|
|
#include <stack>
|
|
#include <tuple>
|
|
#include <vector>
|
|
#include <torch/csrc/cuda/THCP.h>
|
|
|
|
#include <torch/csrc/utils/tensor_numpy.h>
|
|
#include <torch/csrc/copy_utils.h>
|
|
#include <torch/csrc/DynamicTypes.h>
|
|
// clang-format on
|