You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The notebook ‘parallelization.ipynb’ from module 4 of the LangGraph course in LangChain Academy indicates that when executing parallel paths of varying lengths, the graph should wait for all parallel steps to complete before advancing to the next step. This behavior is also described in the example in the How-to-Guide.
However, the example below illustrates a different behavior.
Execution of step ‘E’ is not delayed until the parallel execution of nodes ‘B’, ‘C’, and ‘D’ is fully completed. Instead, ‘E’ is triggered after node ‘B’ finishes and then again after node ‘D’ is executed.
Based on the LangGraph course and the How-to-Guide, I expected a different behavior. Could someone clarify what I misunderstood or did incorrectly?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Branches for parallel node execution
The notebook ‘parallelization.ipynb’ from module 4 of the LangGraph course in LangChain Academy indicates that when executing parallel paths of varying lengths, the graph should wait for all parallel steps to complete before advancing to the next step. This behavior is also described in the example in the How-to-Guide.
However, the example below illustrates a different behavior.
Expected outcome would have been:
Execution of step ‘E’ is not delayed until the parallel execution of nodes ‘B’, ‘C’, and ‘D’ is fully completed. Instead, ‘E’ is triggered after node ‘B’ finishes and then again after node ‘D’ is executed.
Based on the LangGraph course and the How-to-Guide, I expected a different behavior. Could someone clarify what I misunderstood or did incorrectly?
System Info:
langchain==0.3.8
langchain-community==0.3.8
langchain-core==0.3.28
langchain-fireworks==0.2.6
langchain-openai==0.2.9
langchain-text-splitters==0.3.2
langgraph==0.2.60
langgraph-api==0.0.15
langgraph-checkpoint==2.0.9
langgraph-cli==0.1.65
langgraph-sdk==0.1.48
langsmith==0.1.145
Beta Was this translation helpful? Give feedback.
All reactions