# ask-ai

Blake Jackson

03/19/2024, 1:35 PM
@Glime does the experimental map_task have to run on the same node or can the tasks be scheduled across nodes?


03/19/2024, 1:36 PM
The experimental
in Flyte does not necessarily have to run on the same node; it can schedule tasks across different nodes. This is because
is designed to parallelize the execution of tasks over a collection of inputs, allowing each task to be executed independently. The primary purpose of
is to enable efficient parallel execution of homogeneous operations, which can be distributed across multiple nodes in a Flyte cluster. Moreover, the introduction of ArrayNode, as mentioned in the provided context, enhances the capabilities of
by extending mapping support beyond Kubernetes tasks to include tasks such as Python tasks, container tasks, and pod tasks. This implies that tasks can indeed be scheduled across different nodes, leveraging the distributed nature of Flyte's execution environment to achieve parallelism and scalability. It's important to note that while
facilitates the distribution of tasks across nodes, the specific scheduling and execution details depend on the underlying infrastructure and the configuration of the Flyte cluster. The Flyte scheduler is responsible for distributing tasks across available resources to optimize execution efficiency. --- This is an AI-generated response, take its recommendations with caution. Please help us improve the model accuracy by giving this response a thumbs up/thumbs down reaction. Sources 👍 button 👎 button