@triton.jit
def dequantize_scalers(quantized_scalers_ptr, quantization_factor_ptr,
    scaler_mean_ptr, block_size, scaler_block_size):
    """Dequantizes the quantized scalers to bfloat16
    Args:
        quantized_scalers_ptr: Pointer to the quantized scalers
        quantization_factor_ptr: Pointer to the quantization factor
        scaler_mean_ptr: Pointer to the scaler mean
        block_size: Size of the block
        scaler_block_size: Size of the scaler block
    """
    block_idx = tl.program_id(0)
    quantization_factor_idx = block_idx // scaler_block_size
    scaler_quantization_factor = tl.load(quantization_factor_ptr +
        quantization_factor_idx)
    block_scaler = tl.load(quantized_scalers_ptr + block_idx)
    scaler_mean = tl.load(scaler_mean_ptr)
    dequantized_block_scaler = (block_scaler / scaler_quantization_factor).to(
        tl.bfloat16)
    dequantized_block_scaler = dequantized_block_scaler + scaler_mean
    return dequantized_block_scaler
