Skip to content

Fix: Update outdated sampler comment in generation/utils.py#44872

Open
IvanFan-Van wants to merge 1 commit intohuggingface:mainfrom
IvanFan-Van:fix/outdated-comment-logits-processor
Open

Fix: Update outdated sampler comment in generation/utils.py#44872
IvanFan-Van wants to merge 1 commit intohuggingface:mainfrom
IvanFan-Van:fix/outdated-comment-logits-processor

Conversation

@IvanFan-Van
Copy link
Copy Markdown

Description

Update outdated comment that references non-existent file generation_utils_samplers.py

Changes Detail

  • The comment on line 1200 states "all samplers can be found in generation_utils_samplers.py"
  • In reality, all sampling processors are now defined in logits_process.py
  • Updated the comment to point to the correct file location

Type of Change

  • Documentation improvements

…y to logits_process.py

The comment references generation_utils_samplers.py which doesn't exist. The sampling processors are actually defined in logits_process.py.
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.

2 participants