mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-06 09:17:11 +08:00
This reverts commit bd72e28314d8d63bb347becb8309f5ac7761c6b5.
Reverted https://github.com/pytorch/pytorch/pull/128301 on behalf of https://github.com/huydhn due to Sorry for reverting your change but it fails XLA build bd72e28314. Please rebase your PR before relanding because I think the failure is hidden by an unrelated broken trunk XLA failure from your current base commit ([comment](https://github.com/pytorch/pytorch/pull/128301#issuecomment-2169035822))
16 lines
351 B
C++
16 lines
351 B
C++
#pragma once
|
|
#include <c10/util/Optional.h>
|
|
#include <torch/csrc/Export.h>
|
|
#include <torch/csrc/lazy/core/ir_metadata.h>
|
|
#include <vector>
|
|
|
|
namespace torch {
|
|
namespace lazy {
|
|
|
|
std::optional<SourceLocation> TORCH_PYTHON_API GetPythonFrameTop();
|
|
|
|
std::vector<SourceLocation> TORCH_PYTHON_API GetPythonFrames();
|
|
|
|
} // namespace lazy
|
|
} // namespace torch
|