From d27331cced0a93ff1ae0819da9d102257de9e950 Mon Sep 17 00:00:00 2001 From: Aleksa Gordic Date: Wed, 26 Jun 2024 10:43:39 +0000 Subject: [PATCH] Move socket header to utils.h --- llmc/utils.h | 1 + llmc/zero.cuh | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/llmc/utils.h b/llmc/utils.h index 6f33c40..4223e6b 100644 --- a/llmc/utils.h +++ b/llmc/utils.h @@ -15,6 +15,7 @@ // implementation of dirent for Windows is in dev/unistd.h #ifndef _WIN32 #include +#include #else #include #endif diff --git a/llmc/zero.cuh b/llmc/zero.cuh index fb0821a..2b19b1b 100644 --- a/llmc/zero.cuh +++ b/llmc/zero.cuh @@ -5,12 +5,6 @@ Utilities for ZeRO sharding #ifndef LLMC_ZERO_CUH #define LLMC_ZERO_CUH -#ifdef _WIN32 -#include -#else -#include -#endif - #include #include #include