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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to