From 5fd1b596aad783bcceb97c00d0ed6fa35ae065a0 Mon Sep 17 00:00:00 2001 From: Qiye Tan Date: Mon, 17 Nov 2025 07:40:48 -0800 Subject: [PATCH] Remove unnecessary header files Summary: Remove unnecessary header file to make gloo backend not depend on `cuda_runtime.h`. Differential Revision: D86274376 --- comms/torchcomms/gloo/TorchCommGloo.hpp | 6 ------ comms/torchcomms/gloo/TorchWorkGloo.hpp | 10 ---------- 2 files changed, 16 deletions(-) diff --git a/comms/torchcomms/gloo/TorchCommGloo.hpp b/comms/torchcomms/gloo/TorchCommGloo.hpp index 81e7bf91..4bab9788 100644 --- a/comms/torchcomms/gloo/TorchCommGloo.hpp +++ b/comms/torchcomms/gloo/TorchCommGloo.hpp @@ -3,14 +3,8 @@ #pragma once #include -#include -#include #include -#include -#include #include -#include -#include #include #include diff --git a/comms/torchcomms/gloo/TorchWorkGloo.hpp b/comms/torchcomms/gloo/TorchWorkGloo.hpp index b5724128..bd857cfe 100644 --- a/comms/torchcomms/gloo/TorchWorkGloo.hpp +++ b/comms/torchcomms/gloo/TorchWorkGloo.hpp @@ -2,17 +2,7 @@ #pragma once -#include -#include -#include -#include -#include -#include -#include - #include -#include // @manual=third-party//cuda:cuda-lazy -#include #include "comms/torchcomms/TorchCommTracing.hpp" #include "comms/torchcomms/TorchWork.hpp"