Skip to content

Commit d37a857

Browse files
authored
Fix clang builds by adding headers
Clang build fails with the message no template named 'unordered_map' in namespace 'std' std::unordered_map. A similar issue here intel/llvm#5264
1 parent 2971231 commit d37a857

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

torch/csrc/distributed/c10d/control_plane/Handlers.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
#include <mutex>
55
#include <shared_mutex>
66
#include <stdexcept>
7+
#include <string>
8+
#include <unordered_map>
79
#include <utility>
10+
#include <vector>
811

912
namespace c10d::control_plane {
1013

0 commit comments

Comments
 (0)