Learn R Programming

ggmlR (version 0.8.4)

ggml_flash_attn_ext_set_prec: Set Flash-Attention Precision

Description

Sets the precision a ggml_flash_attn_ext() node computes in. GGML_PREC_F32 raises accuracy at some cost in speed.

Usage

ggml_flash_attn_ext_set_prec(tensor, prec)

Value

The tensor (for chaining)

Arguments

tensor

A flash-attention node

prec

Precision constant

See Also

ggml_flash_attn_ext_get_prec