Skip to content
This repository was archived by the owner on Jul 8, 2026. It is now read-only.

Commit 11b799d

Browse files
toceanwenchenvincent
authored andcommitted
remove unless include
1 parent db71512 commit 11b799d

4 files changed

Lines changed: 1 addition & 7 deletions

File tree

csrc/dist_op/dist.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <stdio.h>
55
#include <dlfcn.h>
66

7-
#if defined(__HIP_PLATFORM_AMD__)
7+
#ifdef __HIP_PLATFORM_AMD__
88
#include <hip/hip_runtime.h>
99
#include <rccl.h>
1010
#define stream_t hipStream_t

csrc/extensions/include/common.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#ifndef MSAMP_COMMON_H_
55
#define MSAMP_COMMON_H_
66

7-
#include <cublasLt.h>
8-
#include <cublas_v2.h>
97
#include <cuda_bf16.h>
108
#include <cuda_fp16.h>
119
#include <cuda_fp8.h>

csrc/extensions/include/utils.cuh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
#ifndef MSAMP_UTILS_CUH_
1010
#define MSAMP_UTILS_CUH_
1111

12-
#include <cuda_bf16.h>
13-
#include <cuda_fp16.h>
1412
#include <cstdint>
1513
#include <cassert>
1614

csrc/extensions/optim/adamw.cu

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Licensed under the MIT License.
33

44
#include <c10/cuda/CUDAGuard.h>
5-
#include <cublasLt.h>
6-
#include <cublas_v2.h>
75
#include <torch/extension.h>
86

97
#include <cmath>

0 commit comments

Comments
 (0)