You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "zhengruifeng (via GitHub)" <gi...@apache.org> on 2023/06/26 23:31:34 UTC
[GitHub] [spark] zhengruifeng commented on a diff in pull request #41751: [SPARK-43081][ML][CONNECT] Make torch dataloader support torch 1.x
zhengruifeng commented on code in PR #41751:
URL: https://github.com/apache/spark/pull/41751#discussion_r1242930864
##########
python/pyspark/ml/torch/distributor.py:
##########
@@ -995,4 +995,9 @@ def _get_spark_partition_data_loader(
dataset = _SparkPartitionTorchDataset(arrow_file, schema, num_samples)
- return DataLoader(dataset, batch_size, num_workers=num_workers, prefetch_factor=prefetch_factor)
Review Comment:
mind adding a comment here?
--
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