IREE WebGPU Sample

This tool works similarly to iree-run-module (docs).
It loads a compiled IREE program then lets you call exported functions.
Note: Some outputs are logged to the console.

1. Load a program

Drag a compiled IREE program
(.vmfb file) here to load it

Currently loaded program: (None)

2. Call functions on a loaded program


In the form dim1xdim2xtype=val1,val2,..., one per line

Total time (including overheads):

Invoke time:

Readback time:


Samples

Click to load a sample program, function, and arguments list.
These links will automatically update the URL.

simple_abs (source)
multiple_results (source)
fullyconnected (source)
mobilebert (source)
posenet (source)
mobilessd (source)

Compile your own program

Programs must be compiled for WebGPU to run on this page, using options to iree-compile such as: