↓ 4 callersMethodforward_multi_query_attention(
&mut self,
q: T,
k: T,
v: T,
l: usize,
_pos: usize,
crabml-llama2/src/llama2.rs:527
↓ 3 callersMethodbatch_matmul(b, m, k) @ (b, k, n) => (b, m, n) the A matrix is dense and the B matrix is allowed to be strided
crabml-wgpu/src/wgpu_tensor.rs:638
↓ 3 callersFunctionconcatenate_2d(
buf1: &mut [A],
buf2: &[B],
shape1: &[usize],
shape2: &[usize],
strides1: &[usize],
crabml-core/src/cpu/primitives/concatenate.rs:117
↓ 3 callersFunctionconcatenate_inner(
buf1: &mut [A],
buf2: &[B],
shape1: &[usize],
shape2: &[usize],
strides1: &[usize],
crabml-core/src/cpu/primitives/concatenate.rs:80
↓ 3 callersFunctionmake_qkx1_quants(
n: usize,
nmax: i32,
data: &[f32],
l: &mut [u8],
the_min: &mut f32,
ntry: i32,
)
crabml-core/src/cpu/buf/util.rs:154