mathewjacob1002 commented on code in PR #42118:
URL: https://github.com/apache/spark/pull/42118#discussion_r1274228048


##########
python/pyspark/ml/deepspeed/deepspeed_distributor.py:
##########
@@ -127,6 +151,10 @@ def _run_training_on_pytorch_file(
         training_command = DeepspeedTorchDistributor._create_torchrun_command(
             input_params, train_path, *args
         )
+        # Spark CI doesn't have GPUs (primary use case for deepspeed); 
+        # Just make sure everything else would work
+        if TorchDistributor._E2E_MOCK:
+            return training_command

Review Comment:
   old code before figuring out stuff with the SparkConf - will clean up now



-- 
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-unsubscr...@spark.apache.org

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


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

Reply via email to