MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / not_need_stop

Method not_need_stop

fastdeploy/worker/xpu_model_runner.py:1786–1788  ·  view source on GitHub ↗

Stop decoding if the tensor meets the termination condition

(self)

Source from the content-addressed store, hash-verified

1784 return required_memory
1785
1786 def not_need_stop(self) -> bool:
1787 """Stop decoding if the tensor meets the termination condition"""
1788 return self.share_inputs["not_need_stop"][0]
1789
1790 def padding_cudagraph_inputs(self) -> None:
1791 """

Callers 2

only_decodeMethod · 0.95
execute_modelMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected