QuestionQ32

VerifiedModel Development

A machine learning engineer wants to scale a machine learning pipeline by distributing its single-node model-tuning process. After the complete training dataset is broadcast to every core, each core in the cluster can train one model at a time. Because tuning is still running slowly, the engineer wants to raise the parallelism level from 4 cores to 8 cores to accelerate the tuning process. Unfortunately, the cluster’s total memory cannot be increased.

In which of the following scenarios will raising the level of parallelism from 4 to 8 speed up the tuning process?

Explanation

Broadcasting makes a read-only dataset available in memory on each worker. With fixed total cluster memory, increasing the number of concurrent model-training tasks improves tuning throughput only when the entire training dataset can fit on every core; otherwise, replication creates a memory bottleneck rather than useful additional parallelism.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!