#
0efea35a |
| 15-Apr-2024 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
app: move alignment attribute on types for MSVC
Move location of __rte_aligned(a) to new conventional location. The new placement between {struct,union} and the tag allows the desired alignment to b
app: move alignment attribute on types for MSVC
Move location of __rte_aligned(a) to new conventional location. The new placement between {struct,union} and the tag allows the desired alignment to be imparted on the type regardless of the toolchain being used for both C and C++. Additionally, it avoids confusion by Doxygen when generating documentation.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
24364292 |
| 02-Oct-2023 |
Srikanth Yalavarthi <syalavarthi@marvell.com> |
mldev: introduce IO layout
Introduce IO layout in ML device specification. IO layout defines the expected arrangement of model input and output buffers in the memory. Packed and Split layout support
mldev: introduce IO layout
Introduce IO layout in ML device specification. IO layout defines the expected arrangement of model input and output buffers in the memory. Packed and Split layout support is added in the specification.
Updated rte_ml_op to support array of rte_ml_buff_seg pointers to support packed and split I/O layouts. Updated ML quantize and dequantize APIs to support rte_ml_buff_seg pointer arrays. Replaced batch_size with min_batches and max_batches in rte_ml_model_info.
Implement support for model IO layout in ml/cnxk driver. Updated the ML test application to support IO layout and dropped support for '--batches' in test application.
Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com> Acked-by: Shivah Shankar S <sshankarnara@marvell.com>
show more ...
|
#
77fefa0a |
| 23-Apr-2023 |
Srikanth Yalavarthi <syalavarthi@marvell.com> |
app/mldev: enable reporting xstats
Enabled reporting xstats in ML test application. Enabled stats option for model_ops test case. Added common files for xstats and throughput functions.
Signed-off-
app/mldev: enable reporting xstats
Enabled reporting xstats in ML test application. Enabled stats option for model_ops test case. Added common files for xstats and throughput functions.
Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>
show more ...
|
#
55f963e2 |
| 23-Apr-2023 |
Srikanth Yalavarthi <syalavarthi@marvell.com> |
mldev: remove xstats
This change is a preparatory step for revised xstats APIs. Revised xstats APIs support reporting device and per model stats, which is based on eventdev xstats.
Removed xstats A
mldev: remove xstats
This change is a preparatory step for revised xstats APIs. Revised xstats APIs support reporting device and per model stats, which is based on eventdev xstats.
Removed xstats APIs from spec and library implementation. Disabled reporting xstats in test application and disabled xstats functions in drivers. Renamed stats_get function to throughput_get.
This change is needed as the revised APIs are not backward compatible with the current xstats.
Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>
show more ...
|
#
5a82bc33 |
| 16-Mar-2023 |
Srikanth Yalavarthi <syalavarthi@marvell.com> |
app/mldev: add statistics
Enable reporting driver xstats and inference end-to-end latency and throughput in mldev inference tests. Reporting of stats can be enabled using "--stats" option.
Signed-o
app/mldev: add statistics
Enable reporting driver xstats and inference end-to-end latency and throughput in mldev inference tests. Reporting of stats can be enabled using "--stats" option.
Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com> Acked-by: Anup Prabhu <aprabhu@marvell.com>
show more ...
|
#
da679339 |
| 16-Mar-2023 |
Srikanth Yalavarthi <syalavarthi@marvell.com> |
app/mldev: support inference validation
Enabled support to validate inference output with reference output provided by the user. Validation would be successful only when the inference outputs are wi
app/mldev: support inference validation
Enabled support to validate inference output with reference output provided by the user. Validation would be successful only when the inference outputs are within the 'tolerance' specified through command line option "--tolerance".
Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com> Acked-by: Anup Prabhu <aprabhu@marvell.com>
show more ...
|
#
c0e87165 |
| 16-Mar-2023 |
Srikanth Yalavarthi <syalavarthi@marvell.com> |
app/mldev: support queue pairs and size
Added support to create multiple queue-pairs per device to enqueue and dequeue inference requests. Number of queue pairs to be created can be specified throug
app/mldev: support queue pairs and size
Added support to create multiple queue-pairs per device to enqueue and dequeue inference requests. Number of queue pairs to be created can be specified through "--queue_pairs" option. Support is also enabled to control the number of descriptors per each queue pair through "--queue_size" option. Inference requests for a model are distributed across all available queue-pairs.
Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com> Acked-by: Anup Prabhu <aprabhu@marvell.com>
show more ...
|
#
39890f07 |
| 16-Mar-2023 |
Srikanth Yalavarthi <syalavarthi@marvell.com> |
app/mldev: support for burst inferences
Added 'burst_size' support for inference tests. Burst size controls the number of inference requests handled during the burst enqueue and dequeue operations o
app/mldev: support for burst inferences
Added 'burst_size' support for inference tests. Burst size controls the number of inference requests handled during the burst enqueue and dequeue operations of the test case.
Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com> Acked-by: Anup Prabhu <aprabhu@marvell.com>
show more ...
|
#
bbd272ed |
| 16-Mar-2023 |
Srikanth Yalavarthi <syalavarthi@marvell.com> |
app/mldev: add ordered inferences
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 a
app/mldev: add ordered inferences
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@marvell.com> Acked-by: Anup Prabhu <aprabhu@marvell.com>
show more ...
|