-
Notifications
You must be signed in to change notification settings - Fork 293
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 kl divergence for forward_pass_logit_checker #832
Conversation
Great, thanks for implementing this! This looks good to me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the change, a few comments to improve logging, naming.
@@ -125,11 +138,12 @@ def main(config, test_args): | |||
parser.add_argument("--atol", type=float, required=False, default=0.1) | |||
parser.add_argument("--rtol", type=float, required=False, default=0.1) | |||
parser.add_argument("--token_size", type=int, required=False) | |||
parser.add_argument("--kl", type=float, required=False, default=None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you comment that if this is set then only KL divergence will be checked?
fb6bed8
to
c2b6fd5
Compare
Description
Test