File tree Expand file tree Collapse file tree 6 files changed +1
-20
lines changed Expand file tree Collapse file tree 6 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ cc_library(
3636 "BlockLRUCache.cc" ,
3737 ],
3838 deps = [
39- "//rtp_llm/cpp/core:device_types_hdr" ,
4039 "//rtp_llm/cpp/model_rpc:model_rpc_pool" ,
4140 "//rtp_llm/cpp/model_rpc:rpc_error_code" ,
4241 "//rtp_llm/cpp/utils:lru_cache" ,
Original file line number Diff line number Diff line change @@ -13,14 +13,6 @@ cc_library(
1313 visibility = ["//visibility:public" ],
1414)
1515
16- cc_library (
17- name = "device_types_hdr" ,
18- hdrs = [
19- "DeviceTypes.h" ,
20- ],
21- visibility = ["//visibility:public" ],
22- )
23-
2416cc_library (
2517 name = "types" ,
2618 srcs = [
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -343,7 +343,6 @@ cc_library(
343343 "unfused_attention_kernels.h" ,
344344 ],
345345 deps = any_cuda_deps + [
346- "//rtp_llm/cpp/core:device_types_hdr" ,
347346 "//rtp_llm/cpp/utils:core_utils" ,
348347 "//rtp_llm/cpp/model_utils:model_utils" ,
349348 "//rtp_llm/cpp/cuda:cuda_utils_cu" ,
Original file line number Diff line number Diff line change 2121#include " rtp_llm/cpp/kernels/rotary_position_embedding.h"
2222#include " rtp_llm/cpp/kernels/unfused_attention_kernels.h"
2323#include " rtp_llm/cpp/cuda/cuda_type_utils.cuh"
24- #include " rtp_llm/cpp/core/DeviceTypes.h"
2524#if USING_CUDA
2625#include " rtp_llm/cpp/cuda/cuda_host_utils.h"
2726#endif
Original file line number Diff line number Diff line change 99
1010#define __nv_bfloat16 amd_bfloat16
1111#define __nv_bfloat162 amd_bfloat162
12+ #define __nv_fp8_e4m3 __hip_fp8_e4m3_fnuz
1213
1314static inline __device__ __host__ __nv_bfloat162 __float2bfloat162_rn (float x) {
1415 return {__nv_bfloat16 (x), __nv_bfloat16 (x)};
You can’t perform that action at this time.
0 commit comments