[
https://issues.apache.org/jira/browse/SPARK-45986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun reassigned SPARK-45986:
-------------------------------------
Assignee: Dongjoon Hyun
> Fix `pyspark.ml.torch.tests.test_distributor` in Python 3.11
> ------------------------------------------------------------
>
> Key: SPARK-45986
> URL: https://issues.apache.org/jira/browse/SPARK-45986
> Project: Spark
> Issue Type: Sub-task
> Components: PySpark
> Affects Versions: 4.0.0
> Reporter: Dongjoon Hyun
> Assignee: Dongjoon Hyun
> Priority: Major
> Labels: pull-request-available
>
> https://github.com/apache/spark/actions/runs/6914662405/job/18812759511
> {code}
> ======================================================================
> FAIL [0.000s]: test_local_training_succeeds
> (pyspark.ml.torch.tests.test_distributor.TorchDistributorLocalUnitTests.test_local_training_succeeds)
> [subtest: 1]
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/__w/spark/spark/python/pyspark/ml/torch/tests/test_distributor.py",
> line 384, in test_local_training_succeeds
> self.assertEqual(
> AssertionError: '1' != '0'
> - 1
> + 0
> ======================================================================
> FAIL [0.142s]: test_local_training_succeeds
> (pyspark.ml.torch.tests.test_distributor.TorchDistributorLocalUnitTests.test_local_training_succeeds)
> [subtest: 2]
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/__w/spark/spark/python/pyspark/ml/torch/tests/test_distributor.py",
> line 384, in test_local_training_succeeds
> self.assertEqual(
> AssertionError: '1,2,0' != '0,1,2'
> - 1,2,0
> + 0,1,2
> ======================================================================
> FAIL [0.000s]: test_local_training_succeeds
> (pyspark.ml.torch.tests.test_distributor.TorchDistributorLocalUnitTestsII.test_local_training_succeeds)
> [subtest: 1]
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/__w/spark/spark/python/pyspark/ml/torch/tests/test_distributor.py",
> line 384, in test_local_training_succeeds
> self.assertEqual(
> AssertionError: '1' != '0'
> - 1
> + 0
> ======================================================================
> FAIL [0.139s]: test_local_training_succeeds
> (pyspark.ml.torch.tests.test_distributor.TorchDistributorLocalUnitTestsII.test_local_training_succeeds)
> [subtest: 2]
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/__w/spark/spark/python/pyspark/ml/torch/tests/test_distributor.py",
> line 384, in test_local_training_succeeds
> self.assertEqual(
> AssertionError: '1,2,0' != '0,1,2'
> - 1,2,0
> + 0,1,2
> ----------------------------------------------------------------------
> Ran 23 tests in 166.741s
> FAILED (failures=4)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]