Skip to content

Commit

Permalink
CUDA: remove incorrect precision check (ggerganov#7454)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesGaessler authored May 22, 2024
1 parent 3e5faa8 commit 95fb0ae
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ggml-cuda/fattn-tile-f32.cu
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,6 @@ void ggml_cuda_flash_attn_ext_tile_f32(ggml_backend_cuda_context & ctx, ggml_ten
const ggml_tensor * KQV = dst;
const ggml_tensor * Q = dst->src[0];

const int32_t precision = KQV->op_params[2];
GGML_ASSERT(precision == GGML_PREC_DEFAULT);

if (Q->ne[1] <= 16) {
constexpr int cols_per_block = 16;
constexpr int parallel_blocks = 4;
Expand Down

0 comments on commit 95fb0ae

Please sign in to comment.