mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[Feature] Support EP prefill with num_worst_tokens (#6574)
* support num worst tokens * support num worst tokens * fix build error * support num worst tokens: fix errors * support num worst tokens: fix feild * support num worst tokens: delete requiements * replace permute and depermute op by pure cuda * replace permute and depermute op by pure cuda * fix ci * fix op * fix nan * fix code style --------- Co-authored-by: YuBaoku <49938469+EmmonsCurse@users.noreply.github.com>
This commit is contained in:
@@ -1090,6 +1090,12 @@ def parse_args():
|
||||
help="Enable overlap schedule",
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--ep_prefill_use_worst_num_tokens",
|
||||
action="store_true",
|
||||
help="enable to avoid cpu sync",
|
||||
)
|
||||
|
||||
args = parser.parse_args()
|
||||
return args
|
||||
|
||||
|
||||
Reference in New Issue
Block a user