Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) #44988

Merged
merged 14 commits into from
Aug 17, 2022

Commits on Aug 10, 2022

  1. autofix

    SigureMo committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    5ea9430 View commit details
    Browse the repository at this point in the history
  2. try resolve precision issues

    SigureMo committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    abd3f09 View commit details
    Browse the repository at this point in the history
  3. revert some changes

    SigureMo committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    8b3520a View commit details
    Browse the repository at this point in the history
  4. clean some err_msg

    SigureMo committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    5f6093b View commit details
    Browse the repository at this point in the history
  5. 0.0001 -> 1e-4

    SigureMo committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    54e5e8d View commit details
    Browse the repository at this point in the history
  6. update commented assert code

    SigureMo committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    7c48fbd View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2022

  1. try to fix some shape errors

    SigureMo committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    6954f99 View commit details
    Browse the repository at this point in the history
  2. numpy -> np

    SigureMo committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    4909143 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. Configuration menu
    Copy the full SHA
    8748a13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8af214a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2f44c59 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'develop' into assert-allclose

    import PaddlePaddle#45079 changes, try fix 'PreconditionNotMetError: the memcpy_h2d op has no valid phi kernel.'
    SigureMo committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    c0fb5a8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    904ae6d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cb0e196 View commit details
    Browse the repository at this point in the history