-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
[Bugfix] skip cuda graph for drafter when running with eager #26821
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
[Bugfix] skip cuda graph for drafter when running with eager #26821
Conversation
Signed-off-by: Benjamin Chislett <bchislett@nvidia.com>
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.
Code Review
This pull request correctly fixes a bug where speculative_config.enforce_eager was not being respected during the dummy run for the draft model. The change adds the necessary condition to disable CUDA graphs for the drafter's dummy run when eager mode is enforced. The implementation is correct and addresses the issue effectively. I have no further comments.
|
disabling auto-merge, forgot I still need a stamp |
…oject#26821) Signed-off-by: Benjamin Chislett <bchislett@nvidia.com>
…oject#26821) Signed-off-by: Benjamin Chislett <bchislett@nvidia.com> Signed-off-by: sstamenk <strahinja.stamenkovic@amd.com>
…oject#26821) Signed-off-by: Benjamin Chislett <bchislett@nvidia.com>
…oject#26821) Signed-off-by: Benjamin Chislett <bchislett@nvidia.com> Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
…oject#26821) Signed-off-by: Benjamin Chislett <bchislett@nvidia.com> Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
…oject#26821) Signed-off-by: Benjamin Chislett <bchislett@nvidia.com> Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
Purpose
Patch for
speculative_config.enforce_eagernot being respected in the draft model dummy run.This flag was introduced for DSV3.2 MTP which currently must run in eager mode, so it is not a common crash.