mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 01:41:48 +08:00
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
diff --git a/torch/csrc/distributed/c10d/socket.cpp b/torch/csrc/distributed/c10d/socket.cpp
|
|
index 51ea05fa..3c3fbb39 100644
|
|
--- a/torch/csrc/distributed/c10d/socket.cpp
|
|
+++ b/torch/csrc/distributed/c10d/socket.cpp
|
|
@@ -29,6 +29,7 @@
|
|
|
|
#include <fmt/chrono.h>
|
|
#include <fmt/format.h>
|
|
+#include <fmt/ranges.h>
|
|
|
|
#include <torch/csrc/distributed/c10d/error.h>
|
|
#include <torch/csrc/distributed/c10d/exception.h>
|
|
diff --git a/torch/csrc/profiler/standalone/execution_trace_observer.cpp b/torch/csrc/profiler/standalone/execution_trace_observer.cpp
|
|
index 93d9e2d1..ea241a8b 100644
|
|
--- a/torch/csrc/profiler/standalone/execution_trace_observer.cpp
|
|
+++ b/torch/csrc/profiler/standalone/execution_trace_observer.cpp
|
|
@@ -10,6 +10,7 @@
|
|
#endif // _WIN32
|
|
|
|
#include <fmt/format.h>
|
|
+#include <fmt/ranges.h>
|
|
#include <algorithm>
|
|
#include <chrono>
|
|
#include <cmath>
|
|
diff --git a/torch/csrc/profiler/util.cpp b/torch/csrc/profiler/util.cpp
|
|
index 180555f9..1358c9ab 100644
|
|
--- a/torch/csrc/profiler/util.cpp
|
|
+++ b/torch/csrc/profiler/util.cpp
|
|
@@ -5,6 +5,7 @@
|
|
#include <c10/util/ArrayRef.h>
|
|
#include <c10/util/irange.h>
|
|
#include <fmt/format.h>
|
|
+#include <fmt/ranges.h>
|
|
|
|
#ifdef USE_KINETO
|
|
#include <libkineto.h>
|