Skip to content

test_eigh_op, test_eigvalsh_op tolerance #39446

@zlsh80826

Description

@zlsh80826
  • 标题:test_eigh_op, test_eigvalsh_op 單測問題
  • 版本、环境信息:
       1)PaddlePaddle版本:develop
       2)CPU/GPU:GPU, CUDA 11.6
       3)系统环境:Ubuntu20.04
       4)Python版本号: python3.8
  • 复现信息:
ctest -R test_eigh_op
ctest -R test_eigvalsh_op
  • 问题描述:请详细描述您的问题,同步贴出报错信息、日志/代码关键片段
  1. 在 CUDA 11.6 後 cusolver 改進了 Ssyevd 的性能, 但同時和 numpy 的差異會略微放大 test_eigh_op, test_eigvalsh_op tolerance 需要修改至 2e-6 之上
  2. Complex 單測需求 Hermitian matrix (對角元素 imag 的部分需要為 0), 參考文件, test_eigh_op, test_eigvalsh_op

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions