[PATCH v4 05/12] app/mldev: add ordered inference test case
Anup Prabhu
aprabhu at marvell.com
Mon Feb 27 07:11:26 CET 2023
> -----Original Message-----
> From: Srikanth Yalavarthi <syalavarthi at marvell.com>
> Sent: Tuesday, February 7, 2023 9:20 PM
> To: Srikanth Yalavarthi <syalavarthi at marvell.com>
> Cc: dev at dpdk.org; Shivah Shankar Shankar Narayan Rao
> <sshankarnara at marvell.com>; Jerin Jacob Kollanukkaran
> <jerinj at marvell.com>; Anup Prabhu <aprabhu at marvell.com>; Prince Takkar
> <ptakkar at marvell.com>; Parijat Shukla <pshukla at marvell.com>
> Subject: [PATCH v4 05/12] app/mldev: add ordered inference test case
>
> Added an ordered test case to execute inferences with single or multiple
> models. In this test case inference requests for a model are enqueued after
> completion of all requests for the previous model. Test supports inference
> repetitions.
>
> Operations sequence when testing with N models and R reps,
>
> (load -> start -> (enqueue + dequeue) x R -> stop -> unload) x N
>
> Test case can be executed by selecting "inference_ordered" test and
> repetitions can be specified through "--repetitions" argument.
>
> Signed-off-by: Srikanth Yalavarthi <syalavarthi at marvell.com>
> ---
> app/test-mldev/meson.build | 2 +
> app/test-mldev/ml_options.c | 73 ++-
> app/test-mldev/ml_options.h | 17 +-
> app/test-mldev/test_inference_common.c | 565
> ++++++++++++++++++++++++ app/test-mldev/test_inference_common.h
> | 65 +++ app/test-mldev/test_inference_ordered.c | 119 +++++
> app/test-mldev/test_model_common.h | 10 +
> 7 files changed, 839 insertions(+), 12 deletions(-) create mode 100644
>
Acked-by: Anup Prabhu <aprabhu at marvell.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 23264 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/dev/attachments/20230227/8799a3ab/attachment-0001.bin>
More information about the dev
mailing list