Skip to content

Commit 5fd1b59

Browse files
tanquerfacebook-github-bot
authored andcommitted
Remove unnecessary header files
Summary: Remove unnecessary header file to make gloo backend not depend on `cuda_runtime.h`. Differential Revision: D86274376
1 parent 1034f3a commit 5fd1b59

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

comms/torchcomms/gloo/TorchCommGloo.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,8 @@
33
#pragma once
44

55
#include <atomic>
6-
#include <chrono>
7-
#include <condition_variable>
86
#include <memory>
9-
#include <mutex>
10-
#include <queue>
117
#include <string_view>
12-
#include <thread>
13-
#include <unordered_map>
148
#include <vector>
159

1610
#include <ATen/ATen.h>

comms/torchcomms/gloo/TorchWorkGloo.hpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,7 @@
22

33
#pragma once
44

5-
#include <atomic>
6-
#include <chrono>
7-
#include <memory>
8-
#include <mutex>
9-
#include <optional>
10-
#include <queue>
11-
#include <unordered_map>
12-
135
#include <ATen/ATen.h>
14-
#include <cuda_runtime.h> // @manual=third-party//cuda:cuda-lazy
15-
#include <vector>
166
#include "comms/torchcomms/TorchCommTracing.hpp"
177
#include "comms/torchcomms/TorchWork.hpp"
188

0 commit comments

Comments
 (0)