mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
This makes Placement data representation available in C++ via pybind11. Reapply with fix for internal errors. D83788896 Pull Request resolved: https://github.com/pytorch/pytorch/pull/164519 Approved by: https://github.com/Skylion007, https://github.com/ezyang
8 lines
168 B
C++
8 lines
168 B
C++
#pragma once
|
|
|
|
#include <torch/csrc/utils/python_stub.h>
|
|
|
|
namespace torch::distributed {
|
|
void initPlacementBindings(PyObject* module);
|
|
} // namespace torch::distributed
|