↓ 5 callersFunction_prepare_layers(
*,
num_heads,
num_kv_heads,
per_head_dim,
mesh_axis_names,
mask,
kv_cache=KVCach
axlearn/common/flash_attention/layer_test.py:104
↓ 5 callersFunction_test_forward_and_backward(
q: Tensor,
k: Tensor,
v: Tensor,
bias,
*,
ref_fn: TestFn,
test_fn: TestFn,
f
axlearn/common/flash_attention/gpu_attention_test.py:59
↓ 5 callersFunctionareasComputes area. Args: boxes: An N-d float tensor of shape [..., N, 4] with boxes in corner representation [ymin, xmin, ymax, x
axlearn/vision/similarity_ops.py:12