Skip to content

Commit a4fc894

Browse files
authored
remove patch (#2366)
1 parent 41e8d4c commit a4fc894

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

backends/iluvatar_gpu/patches/paddle-corex.patch

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,18 +1022,3 @@ index ffdf995ece..4a7e03f4ad 100644
10221022
#if defined(PADDLE_WITH_CUDA) || defined(PADDLE_WITH_HIP)
10231023
PD_REGISTER_KERNEL(unsqueeze,
10241024
GPU,
1025-
diff --git a/paddle/phi/kernels/legacy/gpu/fp8_quant_blockwise_kernel.cu b/paddle/phi/kernels/legacy/gpu/fp8_quant_blockwise_kernel.cu
1026-
index 486eabf5fa..b81b9f4320 100644
1027-
--- a/paddle/phi/kernels/legacy/gpu/fp8_quant_blockwise_kernel.cu
1028-
+++ b/paddle/phi/kernels/legacy/gpu/fp8_quant_blockwise_kernel.cu
1029-
@@ -749,8 +749,8 @@ void FP8QuantBlockWiseKernelImpl(const Context &dev_ctx,
1030-
const int sm_count = phi::backends::gpu::GetGPUMultiProcessors(device_id);
1031-
const size_t min_grid_x = sm_count * 8;
1032-
const size_t min_block_x = 1024;
1033-
- const size_t gridx = min(min_grid_x, src_rows);
1034-
- const size_t blockx = min(min_block_x, src_cols / 128 * 32);
1035-
+ const size_t gridx = std::min(min_grid_x, src_rows);
1036-
+ const size_t blockx = std::min(min_block_x, src_cols / 128 * 32);
1037-
1038-
quant_per_token_per_block_padding<NvType,
1039-
ScaleT,

0 commit comments

Comments
 (0)