onnxruntime/js/web/test/data/ops
Arthur Islamov fac3e33da5
[js/web] JSEP Attention & MultiHeadAttention (#17742)
### Description
This is a narrow implementation of Attention/MultiHeadAttention as it
does not support:
a. inputs 5-7 for MHA
b. packed QKV/KV
c. past/present
d. attention mask

But it works well for StableDiffusion and can be extended later. It
reduces VRAM usage as it combines many ops into few
I've updated demo here https://islamov.ai/stable-diffusion-webgpu/ it
takes ~13sec for 1 image with 20 steps on RTX3090Ti and about 25s on M1
Pro
VRAM usage is about 8gb if you don't use img2img

Going to focus on SDXL now

---------

Co-authored-by: Guenther Schmuelling <guschmue@microsoft.com>
Co-authored-by: Yulong Wang <7679871+fs-eire@users.noreply.github.com>
2023-11-17 12:23:52 -08:00
..
_example.jsonc
abs-int32.jsonc [js/webgpu] Include Support for neg.int32 (#17374) 2023-09-06 12:00:16 -07:00
abs.jsonc
absr.jsonc
abss.jsonc
acos.jsonc
add.jsonc
add_int32.jsonc
and.jsonc
asin.jsonc
attention.jsonc [js/web] JSEP Attention & MultiHeadAttention (#17742) 2023-11-17 12:23:52 -08:00
bias-add.jsonc [js/web] BiasSplitGelu and BiasAdd kernels (#17161) 2023-10-03 12:20:20 -07:00
bias-split-gelu.jsonc [js/web] BiasSplitGelu and BiasAdd kernels (#17161) 2023-10-03 12:20:20 -07:00
cast.jsonc [js/webgpu] support Cast operator (#16489) 2023-08-18 23:51:03 -07:00
ceil.jsonc
concat.jsonc
concat_int32.jsonc [JS/WebGPU] support Concat.int32 operator (#17003) 2023-09-13 00:05:00 -07:00
conv-transpose.jsonc [JS/Web] Add ConvTranspose implementation using MatMul (#17573) 2023-09-29 11:00:44 -07:00
conv.jsonc [js/webgpu] Enable the NCHW ConvMatMul path (#17717) 2023-10-05 00:26:01 -07:00
cos.jsonc
depth-to-space.jsonc
div.jsonc
div_int32.jsonc [js/webgpu] Support int32 type for binary (#16901) 2023-08-18 12:19:01 -07:00
einsum.jsonc [JS/Web] Added Einsum operator support. (#17401) 2023-09-11 15:57:15 -07:00
equal.jsonc
exp.jsonc
expand.jsonc
floor.jsonc
fused-conv.jsonc [JS/Web]Added FusedConv. (#17766) 2023-11-01 15:34:51 -07:00
gather-elements.jsonc [JS/WebGPU] Support GatherElements kernel (#17243) 2023-08-28 09:55:25 -07:00
gather.jsonc
gelu.jsonc
gemm.jsonc
global-average-pool.jsonc
greater.jsonc
identity.jsonc
image-scaler.jsonc
instance-norm.jsonc [js/webgpu] Optimize InstanceNormalization (#17491) 2023-09-14 17:03:18 -07:00
layer-norm.jsonc
leaky-relu.jsonc
less.jsonc
log.jsonc
matmul-broadcast.jsonc [js/webgpu] add matmul broadcast tests (#17335) 2023-09-05 20:41:46 -07:00
matmul.jsonc [js/webgpu] Optimize matmul (#16969) 2023-08-29 12:40:57 -07:00
mul.jsonc
mul_int32.jsonc
multi-head-attention.jsonc [js/web] JSEP Attention & MultiHeadAttention (#17742) 2023-11-17 12:23:52 -08:00
neg-int32.jsonc [js/webgpu] Include Support for neg.int32 (#17374) 2023-09-06 12:00:16 -07:00
neg.jsonc
not.jsonc
or.jsonc
pad-big.jsonc
pad.jsonc
pow-big-number.jsonc
pow.jsonc
pow_int32.jsonc [js/webgpu] Support int32 type for binary (#16901) 2023-08-18 12:19:01 -07:00
reduce-min.jsonc
relu.jsonc
reshape-int32.jsonc
reshape-pack.jsonc
reshape.jsonc
resize-pack.jsonc
shape.jsonc
sin.jsonc
skip-layer-norm.jsonc
slice.jsonc [JS/Web]Added uniforms support to Slice op. (#18422) 2023-11-16 09:44:13 -08:00
softmax.jsonc [js/webgpu] Support uniform for softmax (#18345) 2023-11-09 11:19:23 -08:00
split.jsonc
sqrt.jsonc
sub.jsonc
sub_int32.jsonc
tan.jsonc
tile.jsonc
transpose.jsonc [js/webgpu] Fix the transpose error when dims > 4D (#18027) 2023-10-23 11:02:19 -07:00
transpose_int32_uint32.jsonc
upsample.jsonc
where.jsonc [js/webgpu] Support where (#17544) 2023-10-03 14:28:21 -07:00
where_broadcast.jsonc [js/webgpu] Support where (#17544) 2023-10-03 14:28:21 -07:00
xor.jsonc