Skip to content

Commit c3d9883

Browse files
committed
fix
1 parent b3f4a33 commit c3d9883

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

csrc/setup_cuda.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,12 @@ def get_gencode_flags():
226226
"gpu/fp8_gemm_with_cutlass/fp8_fp8_half_block_gemm.cu",
227227
"gpu/fp8_gemm_with_cutlass/fp8_fp8_half_gemm_ptr_scale.cu",
228228
]
229-
sources += find_end_files("./gpu/mla_attn", ".cu")
230-
231-
if cc >= 90 and cuda_version >= 12.2:
232229
sources += [
233230
"gpu/sparse/sparse_compressor.cu",
234231
"gpu/sparse/sparse_mm.cu",
235232
"gpu/sparse/sparse_mm_impl.cu",
236233
]
234+
237235

238236
ops_name = f"paddlenlp_ops_{sm_version}" if sm_version != 0 else "paddlenlp_ops"
239237

0 commit comments

Comments
 (0)