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

Fix assisted decoding generation error #1080

Merged
merged 3 commits into from
Jun 15, 2024
Merged

Fix assisted decoding generation error #1080

merged 3 commits into from
Jun 15, 2024

Conversation

libinta
Copy link
Collaborator

@libinta libinta commented Jun 15, 2024

What does this PR do?

This PR is to fix the unused model_kwargs in _validate_model_kwargs.
The rootcause is the gaudi version of _get_candidate_generator is not used,
the extra kwargs are not removed when the validate function is called by 2nd
model generation.

Fixes # (issue)

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

@libinta libinta requested a review from regisss as a code owner June 15, 2024 08:33
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@regisss regisss merged commit f1d6d6b into main Jun 15, 2024
5 of 6 checks passed
@regisss regisss deleted the libint/fix_ssg branch June 15, 2024 09:42
regisss added a commit that referenced this pull request Jun 15, 2024
Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
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 this pull request may close these issues.

3 participants