Skip to content

[Question]: LogitsProcessorList 缺少__iter__和extend方法 #9926

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

Open
yzhw9981 opened this issue Feb 21, 2025 · 3 comments
Open

[Question]: LogitsProcessorList 缺少__iter__和extend方法 #9926

yzhw9981 opened this issue Feb 21, 2025 · 3 comments
Assignees
Labels
question Further information is requested stale

Comments

@yzhw9981
Copy link

请提出你的问题

https://github.com/PaddlePaddle/PaddleNLP/blob/release/2.8/paddlenlp/generation/logits_process.py#L38
这里有bug吧,这个LogitsProcessorList没有实现__iter__和extend方法呀,从generate传入LogitsProcessorList执行会报错

@yzhw9981 yzhw9981 added the question Further information is requested label Feb 21, 2025
@DrownFish19 DrownFish19 changed the title [Question]: 报bug [Question]: LogitsProcessorList 缺少__iter__和extend方法 Feb 24, 2025
@ZHUI
Copy link
Collaborator

ZHUI commented Mar 17, 2025

你好,正计划升级一下 generation 的代码。合入后通知您。

@ZHUI
Copy link
Collaborator

ZHUI commented Mar 18, 2025

这个是PR: #10080

@ZHUI ZHUI assigned ZHUI and unassigned wawltor Mar 19, 2025
Copy link

This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。

@github-actions github-actions bot added the stale label May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy