You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "rithwik-db (via GitHub)" <gi...@apache.org> on 2023/04/11 17:44:48 UTC

[GitHub] [spark] rithwik-db commented on pull request #39267: [SPARK-41592][PYTHON][ML] Pytorch file Distributed Training

rithwik-db commented on PR #39267:
URL: https://github.com/apache/spark/pull/39267#issuecomment-1503834517

   If we are using CPUs for training, `num_processors` attribute refers to the number of spark tasks that will be created for training, and each spark task can use >1 CPU depending on what `spark.task.cpus` says. (This [function](https://github.com/apache/spark/blob/master/python/pyspark/ml/torch/distributor.py#L167) is where this logic is defined). 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org