You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/05/26 07:23:00 UTC

[jira] [Commented] (SPARK-35530) Fix rounding error in DifferentiableLossAggregatorSuite with Java 11

    [ https://issues.apache.org/jira/browse/SPARK-35530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17351584#comment-17351584 ] 

Apache Spark commented on SPARK-35530:
--------------------------------------

User 'sarutak' has created a pull request for this issue:
https://github.com/apache/spark/pull/32673

> Fix rounding error in DifferentiableLossAggregatorSuite with Java 11
> --------------------------------------------------------------------
>
>                 Key: SPARK-35530
>                 URL: https://issues.apache.org/jira/browse/SPARK-35530
>             Project: Spark
>          Issue Type: Bug
>          Components: ML, Tests
>    Affects Versions: 3.2.0
>            Reporter: Kousuke Saruta
>            Assignee: Kousuke Saruta
>            Priority: Minor
>
> I'm personally checking whether all the tests pass with Java 11 for the current master and I found DifferentiableLossAggregatorSuite fails.
> https://github.com/sarutak/spark/runs/2661859541?check_suite_focus=true#step:9:13895
> The reason seems that the implementation of Blas.daxpy is different between for Java 8 and Java 11. For Java 11, Math.fma is used.
> https://github.com/luhenry/netlib/blob/v2.2.0/blas/src/main/java/dev/ludovic/netlib/blas/Java8BLAS.java#L92
> https://github.com/luhenry/netlib/blob/0053ea30b11686336cbdb8c7fceb41d59d268fa2/blas/src/main/java/dev/ludovic/netlib/blas/Java11BLAS.java#L40



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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