PaddlePaddle / PaddlePaddle/FastDeploy
[bug] 'LLMEngine' object has no attribute '_get_generated_tokens'
Open
@rainyfly is already working on this.
Since Jul 10, 2025.
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 756
- Avg merge
- 19h 28m
- Merged PRs (30d)
- 4
Description
File "/root/offline_inference.py", line 289, in llm_engine_generate
for result in llm_engine.generate(prompts, True):
File "/usr/local/lib/python3.10/site-packages/fastdeploy/engine/engine.py", line 1121, in generate
for result in self._get_generated_tokens(req_id):
AttributeError: 'LLMEngine' object has no attribute '_get_generated_tokens'. Did you mean: '_get_generated_result'?
PS: llm_engine.generate() need sampling_params to set
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.