pytorch/c10
Scott Wolchok ade8fee512 Use c10 version of half/bfloat16 in executorch (#144111)
Summary:
X-link: https://github.com/pytorch/executorch/pull/7040

Accomplished by importing relevant files from c10 into
executorch/runtime/core/portable_type/c10, and then using `using` in
the top-level ExecuTorch headers. This approach should keep the
ExecuTorch build hermetic for embedded use cases. In the future, we
should add a CI job to ensure the c10 files stay identical to the
PyTorch ones.
ghstack-source-id: 260047850
exported-using-ghexport

Test Plan: builds

Differential Revision: D66106969

Pull Request resolved: https://github.com/pytorch/pytorch/pull/144111
Approved by: https://github.com/malfet
2025-02-08 22:40:14 +00:00
..
benchmark Set RUNPATH so installed tests can find the required shared libraries (#136627) 2024-10-25 09:38:08 +00:00
core Use c10 version of half/bfloat16 in executorch (#144111) 2025-02-08 22:40:14 +00:00
cuda [Windows][ROCm] Fix c10 hip tests (#146599) 2025-02-06 23:41:25 +00:00
hip
macros [ROCm][Windows] Fix export macros (#144098) 2025-01-04 17:12:46 +00:00
metal [MPSInductor] Implement Welford reduction (#146703) 2025-02-08 05:00:00 +00:00
mobile [2/N] Fix extra warnings brought by clang-tidy-17 (#137459) 2024-10-08 19:05:02 +00:00
test Fix cppcoreguidelines-init-variables ignorance (#141795) 2025-01-28 17:11:37 +00:00
util Use c10 version of half/bfloat16 in executorch (#144111) 2025-02-08 22:40:14 +00:00
xpu Filter out iGPU if dGPU is found on XPU (#144378) 2025-01-29 15:53:16 +00:00
BUCK.oss
BUILD.bazel
build.bzl Use c10 version of half/bfloat16 in executorch (#144111) 2025-02-08 22:40:14 +00:00
CMakeLists.txt
ovrsource_defs.bzl