package.bend relies on unsafe/foreign
raw source on the hub · import bend-gpu-attention@0.2.0.0/package.bend as Package
bend-gpu-attention: fused FlashAttention-style attention on Bend arrays: one foreign call for all heads, FP16 tensor cores, no score matrix.
The package entry: bend package.bend --publish bend-gpu-attention@X.Y.Z.W ships every file imported here.
Import the module directly:
import bend-gpu-attention@<version>/attention.bend as AT
The test rides along: bend test/attn_test.bend -o attn_test && ./attn_test
3 imports
import Base import ./attention.bend as AT import ./test/attn_test.bend as Test
This file declares nothing of its own.