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

Add verification for backward pass into verify function #1356

Open
ndrakulicTT opened this issue Mar 3, 2025 · 0 comments · May be fixed by #1383
Open

Add verification for backward pass into verify function #1356

ndrakulicTT opened this issue Mar 3, 2025 · 0 comments · May be fixed by #1383

Comments

@ndrakulicTT
Copy link
Contributor

Proposed solution

  1. calculate forwards (this could be reused from verify forward)
  2. generate random gradient for the input in backward
  3. calculate gradients for all parametars (run framework and compiled backward)
  4. verify each gradient for: dtype, shape, value
@ndrakulicTT ndrakulicTT changed the title Add verify backward into current verification Add verification for backward pass into verify function Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant