--- license: mit library_name: onnx tags: - onnx - fusion - plasma-physics - tokamak - diii-d - mamba --- # FUSE-EFIT (in era), ONNX A 20 Hz, strictly causal model of the DIII-D plasma edge, driven by the heating, fuelling and field actuators, the measured plasma current, the loop voltage and the EFIT01 boundary shape. Physical units in, physical units out. Code, documentation and the input contract: https://github.com/NoahH72/FUSE-Pedestal-Predictor-Mamba-ONNX (`docs/EXPORT.md`, `docs/INPUT_CONTRACT.md`, `MODEL_CARD.md`). ## Two forms, one calling convention | form | what it is | networks per tick | ONNX files | step call, 1 thread | step call, 8 threads | |---|---|---:|---:|---|---| | `single` | replicate 0 of the in-era finals (seed 100), the frozen delivered network | 1 | 184 MB | 4.87 ms (99th percentile 5.08 ms) | 1.95 ms (99th percentile 2.00 ms) | | `averaged` | the eight in-era finals (seeds 100-107); the mean of their raw outputs at every tick | 8 | 1468 MB | 56.33 ms (99th percentile 59.45 ms) | 18.25 ms (99th percentile 18.60 ms) | Timing: Intel(R) Xeon(R) CPU Max 9470C, onnxruntime 1.30.0, CPU, batch 1. The control cycle is 50 ms per tick. The two forms take and return the same tensors with the same names, shapes and units; only the recurrent state is larger for `averaged` (19.9 MB per shot against 2.5 MB). A host switches form by choosing a folder. ## Files ``` era/single/fuse_efit_single_step.onnx one 50 ms tick per call, state in and out era/single/fuse_efit_single_sequence.onnx one window of 256 ticks era/averaged/fuse_efit_averaged_step.onnx era/averaged/fuse_efit_averaged_sequence.onnx era/