Open gshimansky opened 1 year ago
Pytorch updated its version definition to #define TORCH_VERSION_MAJOR 2 and #define TORCH_VERSION_MINOR 0. Using #if TORCH_VERSION_MINOR >= 13 in ProcessGroupCCL.hpp now causes a build problem because it doesn't check TORCH_VERSION_MAJOR.
#define TORCH_VERSION_MAJOR 2
#define TORCH_VERSION_MINOR 0
#if TORCH_VERSION_MINOR >= 13
ProcessGroupCCL.hpp
TORCH_VERSION_MAJOR
Pytorch updated its version definition to
#define TORCH_VERSION_MAJOR 2
and#define TORCH_VERSION_MINOR 0
. Using#if TORCH_VERSION_MINOR >= 13
inProcessGroupCCL.hpp
now causes a build problem because it doesn't checkTORCH_VERSION_MAJOR
.