-
Notifications
You must be signed in to change notification settings - Fork 28.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
fix num_assistant_tokens with heuristic schedule (#28759)
* fix heuristic num_assistant_tokens_schedule * Update src/transformers/generation/configuration_utils.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * Update src/transformers/generation/candidate_generator.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * Update utils.py check that candidate_generator.assistant_model exists since some some speculations (like ngram and PLD) don't have assistant_model attribute * Update src/transformers/generation/candidate_generator.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * Update tests/generation/test_utils.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * make fixup * merge conflict * fix docstring * make fixup --------- Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
- v4.49.0
- v4.49.0-SmolVLM-2
- v4.49.0-SigLIP-2
- v4.49.0-AyaVision
- v4.48.3
- v4.48.2
- v4.48.1
- v4.48.0
- v4.47.1
- v4.47.0
- v4.46.3
- v4.46.2
- v4.46.1
- v4.46.0
- v4.45.2
- v4.45.1
- v4.45.0
- v4.44.2
- v4.44.1
- v4.44.0
- v4.43.4
- v4.43.3
- v4.43.2
- v4.43.1
- v4.43.0
- v4.42.4
- v4.42.3
- v4.42.2
- v4.42.1
- v4.42.0
- v4.41.2
- v4.41.1
- v4.41.0
- v4.40.2
- v4.40.1
- v4.40.0
- v4.39.3
- v4.39.2
- v4.39.1
- v4.39.0
- v4.38.2
- v4.38.1
- v4.38.0
1 parent
0eb4085
commit 258da40
Showing
4 changed files
with
60 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters