diff --git a/tensorrt_llm/_torch/visual_gen/cute_dsl_kernels/blackwell/video_sparse_attention/ptx.py b/tensorrt_llm/_torch/visual_gen/cute_dsl_kernels/blackwell/video_sparse_attention/ptx.py index 12fa15bc5930..dcd05e941f4a 100644 --- a/tensorrt_llm/_torch/visual_gen/cute_dsl_kernels/blackwell/video_sparse_attention/ptx.py +++ b/tensorrt_llm/_torch/visual_gen/cute_dsl_kernels/blackwell/video_sparse_attention/ptx.py @@ -261,7 +261,7 @@ def max3f( cute.arch.calc_packed_f32x2_op, src_c=None, calc_func=nvvm.sub_packed_f32x2, - rnd=nvvm.RoundingModeKind.RN, + rnd="rn", ) @@ -330,7 +330,7 @@ def exp2_emulation_2( fp32_round_int = float(2**23 + 2**22) xy_clamped = (cute.arch.fmax(x, -127.0), cute.arch.fmax(y, -127.0)) xy_rounded = cute.arch.add_packed_f32x2( - xy_clamped, (fp32_round_int, fp32_round_int), rnd=nvvm.RoundingModeKind.RM + xy_clamped, (fp32_round_int, fp32_round_int), rnd="rm" ) xy_rounded_back = sub_packed_f32x2(xy_rounded, (fp32_round_int, fp32_round_int)) xy_frac = sub_packed_f32x2(xy_clamped, xy_rounded_back)