Created
March 14, 2023 04:58
-
-
Save wangkuiyi/33cff4f5f14194806ca39582de8aca23 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph G { | |
node [shape=rect]; | |
jax [label="JAX program in Python"]; | |
jaxpr [label="JAXPR"]; | |
pytorch [label="PyTorch program in Python"]; | |
fxgraph [label="torch.fx.Graph"]; | |
stablehlo [label="StableHLO semantics\nin MLIR source file.\nLooks like Fortran code"]; | |
section [label="Dispatch sections\nin StableHLO semantics.\nEach compiled into a kernel"]; | |
driver [label="A program that\nlaunches the kernels\nin StableHLO"]; | |
vmvx [label="Driver in VMVX\ninstructions executed\nby IREE runtime"]; | |
spirv [label="SPIR-V code\nof each section\nlooks like assembly code"]; | |
msl [label="Metal Shader Language code\nof each section\nLooks like C++"]; | |
vmfb [label="the VMFB container file\ngoing into the iOS app bundle"]; | |
jax -> jaxpr [label=" jax.make_jaxpr"]; | |
jaxpr -> stablehlo [label=" github.com/openxla/iree-jax"]; | |
pytorch -> fxgraph [label=" functorch"]; | |
fxgraph -> stablehlo [label=" github.com/llvm/torch_mlir"]; | |
stablehlo -> section [label=" split"]; | |
stablehlo -> driver -> vmvx -> vmfb; | |
section -> spirv -> msl -> vmfb; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment