langgraph: check if model passed as runnable binding with tools in create_react_agent #315
Annotations
1 warning and 2 notices
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
libs/langgraph/langgraph/prebuilt/chat_agent_executor.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 59.3 ms +- 1.6 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (6.32 ms) is 11% of the mean (56.6 ms)
Try to rerun the benchmark with more runs, values and/or loops.
Run 'python -m pyperf system tune' command to reduce the system jitter.
Use pyperf stats, pyperf dump and pyperf hist to analyze results.
Use --quiet option to hide these warnings.
fanout_to_subgraph_10x_sync: Mean +- std dev: 56.6 ms +- 6.3 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 77.2 ms +- 0.9 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 81.8 ms +- 0.6 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 554 ms +- 13 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 504 ms +- 4 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 749 ms +- 17 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 788 ms +- 6 ms
.........................................
react_agent_10x: Mean +- std dev: 41.3 ms +- 3.1 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 29.8 ms +- 0.2 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 53.0 ms +- 1.2 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 43.3 ms +- 3.2 ms
.........................................
react_agent_100x: Mean +- std dev: 414 ms +- 8 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 331 ms +- 3 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 923 ms +- 12 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 822 ms +- 7 ms
.........................................
wide_state_25x300: Mean +- std dev: 20.5 ms +- 0.3 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 12.8 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 238 ms +- 8 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 237 ms +- 13 ms
.........................................
wide_state_15x600: Mean +- std dev: 23.7 ms +- 0.3 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 14.8 ms +- 0.1 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 417 ms +- 15 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 419 ms +- 17 ms
.........................................
wide_state_9x1200: Mean +- std dev: 23.7 ms +- 0.5 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 14.8 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 269 ms +- 8 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 269 ms +- 15 ms
|
libs/langgraph/langgraph/prebuilt/chat_agent_executor.py#L1
+----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+========================================+=========+=======================+
| fanout_to_subgraph_100x_checkpoint | 783 ms | 749 ms: 1.05x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x | 571 ms | 554 ms: 1.03x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 836 ms | 822 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 928 ms | 923 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 81.5 ms | 81.8 ms: 1.00x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 14.8 ms | 14.8 ms: 1.00x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600 | 23.6 ms | 23.7 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300 | 20.4 ms | 20.5 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 76.6 ms | 77.2 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 23.4 ms | 23.7 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.00x faster |
+----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (18): wide_state_25x300_checkpoint_sync, fanout_to_subgraph_10x_sync, react_agent_10x, wide_state_9x1200_checkpoint, wide_state_25x300_checkpoint, wide_state_15x600_checkpoint, wide_state_15x600_checkpoint_sync, wide_state_25x300_sync, react_agent_10x_sync, fanout_to_subgraph_100x_checkpoint_sync, react_agent_100x_sync, fanout_to_subgraph_10x, wide_state_15x600_sync, fanout_to_subgraph_100x_sync, wide_state_9x1200_checkpoint_sync, react_agent_10x_checkpoint, react_agent_100x, react_agent_10x_checkpoint_sync
|
This job succeeded
Loading