docs: document interrupt & HIL #1130
Annotations
1 warning and 2 notices
benchmark
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Benchmark results:
docs/docs/how-tos/human_in_the_loop/interrupt.ipynb#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 61.2 ms +- 1.8 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 51.1 ms +- 0.6 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 91.2 ms +- 7.7 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 93.0 ms +- 0.7 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 608 ms +- 26 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 502 ms +- 5 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 918 ms +- 38 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 924 ms +- 17 ms
.........................................
react_agent_10x: Mean +- std dev: 30.8 ms +- 0.6 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 22.3 ms +- 0.3 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 46.8 ms +- 0.7 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 36.5 ms +- 0.5 ms
.........................................
react_agent_100x: Mean +- std dev: 341 ms +- 6 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 270 ms +- 3 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 928 ms +- 8 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 827 ms +- 8 ms
.........................................
wide_state_25x300: Mean +- std dev: 24.1 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 15.4 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 278 ms +- 4 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 266 ms +- 3 ms
.........................................
wide_state_15x600: Mean +- std dev: 28.1 ms +- 0.6 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.7 ms +- 0.1 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 479 ms +- 6 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 464 ms +- 10 ms
.........................................
wide_state_9x1200: Mean +- std dev: 28.0 ms +- 0.4 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.7 ms +- 0.1 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 312 ms +- 3 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 298 ms +- 5 ms
|
Comparison against main:
docs/docs/how-tos/human_in_the_loop/interrupt.ipynb#L1
+----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+========================================+=========+=======================+
| fanout_to_subgraph_100x_checkpoint | 940 ms | 918 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 845 ms | 827 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 946 ms | 928 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint | 317 ms | 312 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 17.9 ms | 17.7 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint_sync | 471 ms | 464 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 28.3 ms | 28.0 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint_sync | 301 ms | 298 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x | 615 ms | 608 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint | 484 ms | 479 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint | 281 ms | 278 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint_sync | 268 ms | 266 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 93.4 ms | 93.0 ms: 1.00x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_sync | 51.3 ms | 51.1 ms: 1.00x faster |
+----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.01x faster |
+----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (14): fanout_to_subgraph_10x_checkpoint, wide_state_15x600, fanout_to_subgraph_10x, wide_state_25x300_sync, react_agent_10x_checkpoint, react_agent_10x_sync, wide_state_25x300, react_agent_100x, fanout_to_subgraph_100x_sync, wide_state_15x600_sync, react_agent_100x_sync, fanout_to_subgraph_100x_checkpoint_sync, react_agent_10x_checkpoint_sync, react_agent_10x
|