Skip to content

Fix clang builds by adding headers #160252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
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
  • Loading branch information
tanmay-sinha authored Aug 9, 2025
commit d37a8574b8e1f4b5b5d0e23eaba5765e08a51614
3 changes: 3 additions & 0 deletions torch/csrc/distributed/c10d/control_plane/Handlers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
#include <mutex>
#include <shared_mutex>
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>

namespace c10d::control_plane {

Expand Down
Loading