mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 17:17:14 +08:00
[Backend] Add KunlunXin XPU deploy support (#747)
* add xpu support * fix docs * update code * update doc * update code * update yolov5 * update cmake * add int64_t data support * fix * update download links * add en doc * update code * update xpu options * update doc * update doc * update doc * update lib links * update doc * update code * update lite xpu link * update xpu lib * update doc * update en doc
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