mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 01:22:59 +08:00
[Backend] Add KunlunXin XPU deploy support (#894)
Revert "Revert "[Backend] Add KunlunXin XPU deploy support" (#893)"
This reverts commit 0990ab9b50
.
This commit is contained in:
@@ -45,6 +45,15 @@ struct LiteBackendOption {
|
||||
// Such as fp16, different device target (kARM/kXPU/kNPU/...)
|
||||
std::string nnadapter_subgraph_partition_config_path = "";
|
||||
bool enable_timvx = false;
|
||||
bool enable_xpu = false;
|
||||
int device_id = 0;
|
||||
int xpu_l3_workspace_size = 0xfffc00;
|
||||
bool xpu_locked = false;
|
||||
bool xpu_autotune = true;
|
||||
std::string xpu_autotune_file = "";
|
||||
std::string xpu_precision = "int16";
|
||||
bool xpu_adaptive_seqlen = false;
|
||||
bool xpu_enable_multi_stream = false;
|
||||
};
|
||||
|
||||
// Convert data type from paddle lite to fastdeploy
|
||||
|
Reference in New Issue
Block a user