diff --git a/caffe2/operators/softmax_op_cudnn.cc b/caffe2/operators/softmax_op_cudnn.cc index e51e1c623ebe..7ff9cbe230c2 100644 --- a/caffe2/operators/softmax_op_cudnn.cc +++ b/caffe2/operators/softmax_op_cudnn.cc @@ -5,14 +5,6 @@ namespace caffe2 { -namespace { -constexpr int NUM_DESCRIPTORS = 2; -constexpr int GRADIENT_NUM_DESCRIPTORS = 3; -constexpr int BOTTOM_DESC_ID = 0; -constexpr int TOP_DESC_ID = 1; -constexpr int TOP_GRADIENT_DESC_ID = 2; -} // namespace - class CuDNNSoftmaxOp final : public Operator { public: template diff --git a/torch/csrc/distributed/c10d/ProcessGroupUCC.cpp b/torch/csrc/distributed/c10d/ProcessGroupUCC.cpp index a45f840b2b86..830e80eccb19 100644 --- a/torch/csrc/distributed/c10d/ProcessGroupUCC.cpp +++ b/torch/csrc/distributed/c10d/ProcessGroupUCC.cpp @@ -12,7 +12,6 @@ namespace c10d { namespace { -constexpr int64_t kBusyWaitMillis = 10; const std::map ucc_mtype_map = { {c10::kCPU, UCC_MEMORY_TYPE_HOST},