mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-23 08:39:33 +08:00
Rename CANN to Ascend
This commit is contained in:
@@ -18,10 +18,9 @@ def parse_arguments():
|
||||
|
||||
|
||||
def build_option():
|
||||
option = fd.RuntimeOption()
|
||||
|
||||
option.use_cann()
|
||||
option.set_lite_nnadapter_device_names(["huawei_ascend_npu"])
|
||||
option = fd.RuntimeOption()
|
||||
option.use_ascend()
|
||||
|
||||
return option
|
||||
|
||||
|
Reference in New Issue
Block a user