mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[XPU] Support XPU via Paddle Inference backend (#1987)
* [backend] Support XPU via Paddle Inference backend * [backend] Support XPU via Paddle Inference backend * [backend] Support XPU via Paddle Inference backend * [XPU] support XPU benchmark via paddle inference * [XPU] support XPU benchmark via paddle inference * [benchmark] add xpu paddle h2d config files
This commit is contained in:
14
benchmark/cpp/config/config.xpu.paddle.fp32.h2d.l3.txt
Executable file
14
benchmark/cpp/config/config.xpu.paddle.fp32.h2d.l3.txt
Executable file
@@ -0,0 +1,14 @@
|
||||
device: xpu
|
||||
device_id: 0
|
||||
cpu_thread_nums: 1
|
||||
warmup: 200
|
||||
repeat: 1000
|
||||
backend: paddle
|
||||
profile_mode: runtime
|
||||
include_h2d_d2h: true
|
||||
use_fp16: false
|
||||
collect_memory_info: false
|
||||
sampling_interval: 1
|
||||
precision_compare: false
|
||||
xpu_l3_cache: 62914560
|
||||
result_path: benchmark_xpu_paddle_fp32_l3.txt
|
||||
14
benchmark/cpp/config/config.xpu.paddle.fp32.h2d.txt
Executable file
14
benchmark/cpp/config/config.xpu.paddle.fp32.h2d.txt
Executable file
@@ -0,0 +1,14 @@
|
||||
device: xpu
|
||||
device_id: 0
|
||||
cpu_thread_nums: 1
|
||||
warmup: 200
|
||||
repeat: 1000
|
||||
backend: paddle
|
||||
profile_mode: runtime
|
||||
include_h2d_d2h: true
|
||||
use_fp16: false
|
||||
collect_memory_info: false
|
||||
sampling_interval: 1
|
||||
precision_compare: false
|
||||
xpu_l3_cache: 0
|
||||
result_path: benchmark_xpu_paddle_fp32.txt
|
||||
14
benchmark/cpp/config/config.xpu.paddle.fp32.l3.txt
Executable file
14
benchmark/cpp/config/config.xpu.paddle.fp32.l3.txt
Executable file
@@ -0,0 +1,14 @@
|
||||
device: xpu
|
||||
device_id: 0
|
||||
cpu_thread_nums: 1
|
||||
warmup: 200
|
||||
repeat: 1000
|
||||
backend: paddle
|
||||
profile_mode: runtime
|
||||
include_h2d_d2h: false
|
||||
use_fp16: false
|
||||
collect_memory_info: false
|
||||
sampling_interval: 1
|
||||
precision_compare: false
|
||||
xpu_l3_cache: 62914560
|
||||
result_path: benchmark_xpu_paddle_fp32_l3.txt
|
||||
14
benchmark/cpp/config/config.xpu.paddle.fp32.txt
Executable file
14
benchmark/cpp/config/config.xpu.paddle.fp32.txt
Executable file
@@ -0,0 +1,14 @@
|
||||
device: xpu
|
||||
device_id: 0
|
||||
cpu_thread_nums: 1
|
||||
warmup: 200
|
||||
repeat: 1000
|
||||
backend: paddle
|
||||
profile_mode: runtime
|
||||
include_h2d_d2h: false
|
||||
use_fp16: false
|
||||
collect_memory_info: false
|
||||
sampling_interval: 1
|
||||
precision_compare: false
|
||||
xpu_l3_cache: 0
|
||||
result_path: benchmark_xpu_paddle_fp32.txt
|
||||
Reference in New Issue
Block a user