QuestionQ154

VerifiedScaling and Tuning

A Data Scientist is training a recommendation model using customer data. The customer data—terabytes of data—is stored in various datasets and must be joined and cleansed before model training. The data scientist has determined that a PyTorch-based deep learning model is the appropriate model type for this use case. They want to prepare the data and train the model as fast as possible.

Which approach should they use?

Explanation

Spark provides distributed DataFrame and SQL processing suitable for joining and cleansing terabyte-scale structured datasets. Ray Train supports distributed PyTorch training across multiple cluster workers, so using Spark for data preparation and Ray for model training scales both stages appropriately.

Learn more

Community Discussion

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