automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw132260 [PATCH v1 1/1] app/mldev: enable support for pre-quantized I/O
       [not found] <20231002100217.12456-1-syalavarthi@marvell.com>
@ 2023-10-02  9:46 ` qemudev
  2023-10-02 10:03 ` |SUCCESS| " checkpatch
  2023-10-02 10:59 ` 0-day Robot
  2 siblings, 0 replies; 4+ messages in thread
From: qemudev @ 2023-10-02  9:46 UTC (permalink / raw)
  To: test-report; +Cc: Srikanth Yalavarthi, zhoumin

Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/132260

_apply patch failure_

Submitter: Srikanth Yalavarthi <syalavarthi@marvell.com>
Date: Mon, 2 Oct 2023 03:02:17 -0700
DPDK git baseline: Repo:dpdk
  Branch: main
  CommitID: 5f99480bc32b5f643fb357f8bed022b9bd23ecad

Apply patch set 132260 failed:

Checking patch app/test-mldev/ml_options.c...
Hunk #2 succeeded at 283 (offset 13 lines).
Hunk #3 succeeded at 333 (offset 15 lines).
Hunk #4 succeeded at 382 (offset 15 lines).
Checking patch app/test-mldev/ml_options.h...
error: while searching for:
#define ML_TEST_MAX_MODELS   8

/* Options names */
#define ML_TEST	       ("test")
#define ML_DEVICE_ID   ("dev_id")
#define ML_SOCKET_ID   ("socket_id")
#define ML_MODELS      ("models")
#define ML_FILELIST    ("filelist")
#define ML_REPETITIONS ("repetitions")
#define ML_BURST_SIZE  ("burst_size")
#define ML_QUEUE_PAIRS ("queue_pairs")
#define ML_QUEUE_SIZE  ("queue_size")
#define ML_TOLERANCE   ("tolerance")
#define ML_STATS       ("stats")
#define ML_DEBUG       ("debug")
#define ML_HELP	       ("help")

struct ml_filelist {
	char model[PATH_MAX];

error: patch failed: app/test-mldev/ml_options.h:12
error: app/test-mldev/ml_options.h: patch does not apply
Checking patch app/test-mldev/test_inference_common.c...
error: while searching for:
	}

	t->model[fid].inp_dsize = 0;
	for (i = 0; i < t->model[fid].info.nb_inputs; i++)
		t->model[fid].inp_dsize +=
			t->model[fid].info.input_info[i].nb_elements * sizeof(float);

	t->model[fid].out_dsize = 0;
	for (i = 0; i < t->model[fid].info.nb_outputs; i++)
		t->model[fid].out_dsize +=
			t->model[fid].info.output_info[i].nb_elements * sizeof(float);

	/* allocate buffer for user data */
	mz_size = t->model[fid].inp_dsize + t->model[fid].out_dsize;

error: patch failed: app/test-mldev/test_inference_common.c:777
error: app/test-mldev/test_inference_common.c: patch does not apply
Checking patch doc/guides/tools/testmldev.rst...


^ permalink raw reply	[flat|nested] 4+ messages in thread

* |SUCCESS| pw132260 [PATCH v1 1/1] app/mldev: enable support for pre-quantized I/O
       [not found] <20231002100217.12456-1-syalavarthi@marvell.com>
  2023-10-02  9:46 ` |WARNING| pw132260 [PATCH v1 1/1] app/mldev: enable support for pre-quantized I/O qemudev
@ 2023-10-02 10:03 ` checkpatch
  2023-10-02 10:59 ` 0-day Robot
  2 siblings, 0 replies; 4+ messages in thread
From: checkpatch @ 2023-10-02 10:03 UTC (permalink / raw)
  To: test-report

Test-Label: checkpatch
Test-Status: SUCCESS
http://dpdk.org/patch/132260

_coding style OK_



^ permalink raw reply	[flat|nested] 4+ messages in thread

* |SUCCESS| pw132260 [PATCH v1 1/1] app/mldev: enable support for pre-quantized I/O
       [not found] <20231002100217.12456-1-syalavarthi@marvell.com>
  2023-10-02  9:46 ` |WARNING| pw132260 [PATCH v1 1/1] app/mldev: enable support for pre-quantized I/O qemudev
  2023-10-02 10:03 ` |SUCCESS| " checkpatch
@ 2023-10-02 10:59 ` 0-day Robot
  2 siblings, 0 replies; 4+ messages in thread
From: 0-day Robot @ 2023-10-02 10:59 UTC (permalink / raw)
  To: test-report; +Cc: robot

From: robot@bytheb.org

Test-Label: github-robot: build
Test-Status: SUCCESS
http://patchwork.dpdk.org/patch/132260/

_github build: passed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/6378882177

^ permalink raw reply	[flat|nested] 4+ messages in thread

* |WARNING| pw132260 [PATCH] [v1, 1/1] app/mldev: enable support for pre-quantized I/O
@ 2023-10-02 11:46 dpdklab
  0 siblings, 0 replies; 4+ messages in thread
From: dpdklab @ 2023-10-02 11:46 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/132260

_apply patch failure_

Submitter: Srikanth Yalavarthi <syalavarthi@marvell.com>
Date: Monday, October 02 2023 10:02:17 
Applied on: CommitID:6e999364a6afb9189029154b1ac55b4ad5fb9b3f
Apply patch set 132260 failed:

Checking patch app/test-mldev/ml_options.c...
Hunk #2 succeeded at 283 (offset 13 lines).
Hunk #3 succeeded at 333 (offset 15 lines).
Hunk #4 succeeded at 382 (offset 15 lines).
Checking patch app/test-mldev/ml_options.h...
error: while searching for:
#define ML_TEST_MAX_MODELS   8

/* Options names */
#define ML_TEST	       ("test")
#define ML_DEVICE_ID   ("dev_id")
#define ML_SOCKET_ID   ("socket_id")
#define ML_MODELS      ("models")
#define ML_FILELIST    ("filelist")
#define ML_REPETITIONS ("repetitions")
#define ML_BURST_SIZE  ("burst_size")
#define ML_QUEUE_PAIRS ("queue_pairs")
#define ML_QUEUE_SIZE  ("queue_size")
#define ML_TOLERANCE   ("tolerance")
#define ML_STATS       ("stats")
#define ML_DEBUG       ("debug")
#define ML_HELP	       ("help")

struct ml_filelist {
	char model[PATH_MAX];

error: patch failed: app/test-mldev/ml_options.h:12
Hunk #2 succeeded at 48 (offset 1 line).
Checking patch app/test-mldev/test_inference_common.c...
error: while searching for:
	}

	t->model[fid].inp_dsize = 0;
	for (i = 0; i < t->model[fid].info.nb_inputs; i++)
		t->model[fid].inp_dsize +=
			t->model[fid].info.input_info[i].nb_elements * sizeof(float);

	t->model[fid].out_dsize = 0;
	for (i = 0; i < t->model[fid].info.nb_outputs; i++)
		t->model[fid].out_dsize +=
			t->model[fid].info.output_info[i].nb_elements * sizeof(float);

	/* allocate buffer for user data */
	mz_size = t->model[fid].inp_dsize + t->model[fid].out_dsize;

error: patch failed: app/test-mldev/test_inference_common.c:777
Checking patch doc/guides/tools/testmldev.rst...
Applied patch app/test-mldev/ml_options.c cleanly.
Applying patch app/test-mldev/ml_options.h with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Applying patch app/test-mldev/test_inference_common.c with 1 reject...
Rejected hunk #1.
Applied patch doc/guides/tools/testmldev.rst cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/app/test-mldev/ml_options.h b/app/test-mldev/ml_options.h	(rejected hunks)
@@ -12,19 +12,20 @@
 #define ML_TEST_MAX_MODELS   8
 
 /* Options names */
-#define ML_TEST	       ("test")
-#define ML_DEVICE_ID   ("dev_id")
-#define ML_SOCKET_ID   ("socket_id")
-#define ML_MODELS      ("models")
-#define ML_FILELIST    ("filelist")
-#define ML_REPETITIONS ("repetitions")
-#define ML_BURST_SIZE  ("burst_size")
-#define ML_QUEUE_PAIRS ("queue_pairs")
-#define ML_QUEUE_SIZE  ("queue_size")
-#define ML_TOLERANCE   ("tolerance")
-#define ML_STATS       ("stats")
-#define ML_DEBUG       ("debug")
-#define ML_HELP	       ("help")
+#define ML_TEST		("test")
+#define ML_DEVICE_ID	("dev_id")
+#define ML_SOCKET_ID	("socket_id")
+#define ML_MODELS	("models")
+#define ML_FILELIST	("filelist")
+#define ML_QUANTIZED_IO ("quantized_io")
+#define ML_REPETITIONS	("repetitions")
+#define ML_BURST_SIZE	("burst_size")
+#define ML_QUEUE_PAIRS	("queue_pairs")
+#define ML_QUEUE_SIZE	("queue_size")
+#define ML_TOLERANCE	("tolerance")
+#define ML_STATS	("stats")
+#define ML_DEBUG	("debug")
+#define ML_HELP		("help")
 
 struct ml_filelist {
 	char model[PATH_MAX];
diff a/app/test-mldev/test_inference_common.c b/app/test-mldev/test_inference_common.c	(rejected hunks)
@@ -777,14 +777,22 @@ ml_inference_iomem_setup(struct ml_test *test, struct ml_options *opt, uint16_t
 	}
 
 	t->model[fid].inp_dsize = 0;
-	for (i = 0; i < t->model[fid].info.nb_inputs; i++)
-		t->model[fid].inp_dsize +=
-			t->model[fid].info.input_info[i].nb_elements * sizeof(float);
+	for (i = 0; i < t->model[fid].info.nb_inputs; i++) {
+		if (opt->quantized_io)
+			t->model[fid].inp_dsize += t->model[fid].info.input_info[i].size;
+		else
+			t->model[fid].inp_dsize +=
+				t->model[fid].info.input_info[i].nb_elements * sizeof(float);
+	}
 
 	t->model[fid].out_dsize = 0;
-	for (i = 0; i < t->model[fid].info.nb_outputs; i++)
-		t->model[fid].out_dsize +=
-			t->model[fid].info.output_info[i].nb_elements * sizeof(float);
+	for (i = 0; i < t->model[fid].info.nb_outputs; i++) {
+		if (opt->quantized_io)
+			t->model[fid].out_dsize += t->model[fid].info.output_info[i].size;
+		else
+			t->model[fid].out_dsize +=
+				t->model[fid].info.output_info[i].nb_elements * sizeof(float);
+	}
 
 	/* allocate buffer for user data */
 	mz_size = t->model[fid].inp_dsize + t->model[fid].out_dsize;

https://lab.dpdk.org/results/dashboard/patchsets/27801/

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-02 11:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20231002100217.12456-1-syalavarthi@marvell.com>
2023-10-02  9:46 ` |WARNING| pw132260 [PATCH v1 1/1] app/mldev: enable support for pre-quantized I/O qemudev
2023-10-02 10:03 ` |SUCCESS| " checkpatch
2023-10-02 10:59 ` 0-day Robot
2023-10-02 11:46 |WARNING| pw132260 [PATCH] [v1, " dpdklab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).