From 10b74f6e39eab27cf145eb12e320e513f75ed7be Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Thu, 13 Jan 2022 15:13:26 -0800 Subject: [PATCH 01/14] jenkinsfile and one test --- Jenkinsfile | 4 ++-- tests/python/frontend/onnx/test_forward.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 64b8465a1ea1..e7889513dc3e 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -46,11 +46,11 @@ import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. --> ci_lint = "tlcpack/ci-lint:v0.67" -ci_gpu = "tlcpack/ci-gpu:v0.79" +ci_gpu = "tlcpack/ci-gpu:20220112-000102-d1ee20191" ci_cpu = "tlcpack/ci-cpu:v0.80" ci_wasm = "tlcpack/ci-wasm:v0.71" ci_i386 = "tlcpack/ci-i386:v0.74" -ci_qemu = "tlcpack/ci-qemu:v0.08" +ci_qemu = "tlcpack/ci-qemu:20220112-000102-d1ee20191" ci_arm = "tlcpack/ci-arm:v0.06" // <--- End of regex-scanned config. diff --git a/tests/python/frontend/onnx/test_forward.py b/tests/python/frontend/onnx/test_forward.py index 2e0d9274a2a7..1d693121efbf 100644 --- a/tests/python/frontend/onnx/test_forward.py +++ b/tests/python/frontend/onnx/test_forward.py @@ -234,7 +234,8 @@ def verify_with_ort( def quantize_and_verify_with_ort(onnx_model, input_names, input_shapes, target, dev): - from onnxruntime.quantization import CalibrationDataReader, QuantType, quantize_static + from onnxruntime.quantization import (CalibrationDataReader, QuantType, + quantize_static) input_arrays = [np.random.random(shape).astype("float32") for shape in input_shapes] @@ -5090,6 +5091,7 @@ def verify_eyelike(indata): "test_reduce_sum_keepdims_random", "test_reduce_sum_negative_axes_keepdims_example", "test_reduce_sum_negative_axes_keepdims_random", + "test_reshape_allowzero_reordered", "test_rnn_seq_length", "test_round", "test_sequence_insert_at_back", From 9eb9f7c894d1de3df6a26060cbf2889ff002a046 Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Thu, 13 Jan 2022 15:23:32 -0800 Subject: [PATCH 02/14] formatting --- tests/python/frontend/onnx/test_forward.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/python/frontend/onnx/test_forward.py b/tests/python/frontend/onnx/test_forward.py index 1d693121efbf..7485faa5f8c7 100644 --- a/tests/python/frontend/onnx/test_forward.py +++ b/tests/python/frontend/onnx/test_forward.py @@ -234,8 +234,7 @@ def verify_with_ort( def quantize_and_verify_with_ort(onnx_model, input_names, input_shapes, target, dev): - from onnxruntime.quantization import (CalibrationDataReader, QuantType, - quantize_static) + from onnxruntime.quantization import CalibrationDataReader, QuantType, quantize_static input_arrays = [np.random.random(shape).astype("float32") for shape in input_shapes] From feb159d9e09c07fda810f884a05173201deab3bf Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Thu, 13 Jan 2022 16:55:42 -0800 Subject: [PATCH 03/14] swtich to proper repo for docker --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e7889513dc3e..24a5621f966b 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -46,11 +46,11 @@ import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. --> ci_lint = "tlcpack/ci-lint:v0.67" -ci_gpu = "tlcpack/ci-gpu:20220112-000102-d1ee20191" +ci_gpu = "tlcpackstaging/ci_gpu:20220112-000102-d1ee20191" ci_cpu = "tlcpack/ci-cpu:v0.80" ci_wasm = "tlcpack/ci-wasm:v0.71" ci_i386 = "tlcpack/ci-i386:v0.74" -ci_qemu = "tlcpack/ci-qemu:20220112-000102-d1ee20191" +ci_qemu = "tlcpackstaging/ci-qemu:20220112-000102-d1ee20191" ci_arm = "tlcpack/ci-arm:v0.06" // <--- End of regex-scanned config. From 8b3145706fbd6ca38c0b1c17e3239c7853f440ba Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Thu, 13 Jan 2022 17:05:35 -0800 Subject: [PATCH 04/14] fix missing - with _ --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 24a5621f966b..bb70e39ab05b 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -50,7 +50,7 @@ ci_gpu = "tlcpackstaging/ci_gpu:20220112-000102-d1ee20191" ci_cpu = "tlcpack/ci-cpu:v0.80" ci_wasm = "tlcpack/ci-wasm:v0.71" ci_i386 = "tlcpack/ci-i386:v0.74" -ci_qemu = "tlcpackstaging/ci-qemu:20220112-000102-d1ee20191" +ci_qemu = "tlcpackstaging/ci_qemu:20220112-000102-d1ee20191" ci_arm = "tlcpack/ci-arm:v0.06" // <--- End of regex-scanned config. From fb53dc39868fc842106604a1298c9a27cb36346f Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Thu, 13 Jan 2022 19:07:57 -0800 Subject: [PATCH 05/14] jostle From 5f57cc7b686abb8176a9f8ef891b64e8935ae90f Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Thu, 13 Jan 2022 21:13:36 -0800 Subject: [PATCH 06/14] upgrade to latest images --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index bb70e39ab05b..f547e0db58d6 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -46,11 +46,11 @@ import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. --> ci_lint = "tlcpack/ci-lint:v0.67" -ci_gpu = "tlcpackstaging/ci_gpu:20220112-000102-d1ee20191" +ci_gpu = "tlcpackstaging/ci_gpu:20220113-230019-74854135a" ci_cpu = "tlcpack/ci-cpu:v0.80" ci_wasm = "tlcpack/ci-wasm:v0.71" ci_i386 = "tlcpack/ci-i386:v0.74" -ci_qemu = "tlcpackstaging/ci_qemu:20220112-000102-d1ee20191" +ci_qemu = "tlcpackstaging/ci_qemu:20220113-230019-74854135a" ci_arm = "tlcpack/ci-arm:v0.06" // <--- End of regex-scanned config. From a5ee1bf68e5812d55ba3972d59df41fa8f57faa7 Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Thu, 13 Jan 2022 15:13:26 -0800 Subject: [PATCH 07/14] jenkinsfile and one test --- Jenkinsfile | 4 ++-- tests/python/frontend/onnx/test_forward.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f547e0db58d6..e7889513dc3e 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -46,11 +46,11 @@ import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. --> ci_lint = "tlcpack/ci-lint:v0.67" -ci_gpu = "tlcpackstaging/ci_gpu:20220113-230019-74854135a" +ci_gpu = "tlcpack/ci-gpu:20220112-000102-d1ee20191" ci_cpu = "tlcpack/ci-cpu:v0.80" ci_wasm = "tlcpack/ci-wasm:v0.71" ci_i386 = "tlcpack/ci-i386:v0.74" -ci_qemu = "tlcpackstaging/ci_qemu:20220113-230019-74854135a" +ci_qemu = "tlcpack/ci-qemu:20220112-000102-d1ee20191" ci_arm = "tlcpack/ci-arm:v0.06" // <--- End of regex-scanned config. diff --git a/tests/python/frontend/onnx/test_forward.py b/tests/python/frontend/onnx/test_forward.py index 7485faa5f8c7..1d693121efbf 100644 --- a/tests/python/frontend/onnx/test_forward.py +++ b/tests/python/frontend/onnx/test_forward.py @@ -234,7 +234,8 @@ def verify_with_ort( def quantize_and_verify_with_ort(onnx_model, input_names, input_shapes, target, dev): - from onnxruntime.quantization import CalibrationDataReader, QuantType, quantize_static + from onnxruntime.quantization import (CalibrationDataReader, QuantType, + quantize_static) input_arrays = [np.random.random(shape).astype("float32") for shape in input_shapes] From 02bec524b4b38c8fcce5ba67003a0f52d28d6a8b Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Thu, 13 Jan 2022 15:23:32 -0800 Subject: [PATCH 08/14] formatting --- tests/python/frontend/onnx/test_forward.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/python/frontend/onnx/test_forward.py b/tests/python/frontend/onnx/test_forward.py index 1d693121efbf..7485faa5f8c7 100644 --- a/tests/python/frontend/onnx/test_forward.py +++ b/tests/python/frontend/onnx/test_forward.py @@ -234,8 +234,7 @@ def verify_with_ort( def quantize_and_verify_with_ort(onnx_model, input_names, input_shapes, target, dev): - from onnxruntime.quantization import (CalibrationDataReader, QuantType, - quantize_static) + from onnxruntime.quantization import CalibrationDataReader, QuantType, quantize_static input_arrays = [np.random.random(shape).astype("float32") for shape in input_shapes] From c69bfb987ffd75a6bceca15b743102cc737933a4 Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Thu, 13 Jan 2022 16:55:42 -0800 Subject: [PATCH 09/14] swtich to proper repo for docker --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e7889513dc3e..24a5621f966b 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -46,11 +46,11 @@ import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. --> ci_lint = "tlcpack/ci-lint:v0.67" -ci_gpu = "tlcpack/ci-gpu:20220112-000102-d1ee20191" +ci_gpu = "tlcpackstaging/ci_gpu:20220112-000102-d1ee20191" ci_cpu = "tlcpack/ci-cpu:v0.80" ci_wasm = "tlcpack/ci-wasm:v0.71" ci_i386 = "tlcpack/ci-i386:v0.74" -ci_qemu = "tlcpack/ci-qemu:20220112-000102-d1ee20191" +ci_qemu = "tlcpackstaging/ci-qemu:20220112-000102-d1ee20191" ci_arm = "tlcpack/ci-arm:v0.06" // <--- End of regex-scanned config. From 7f3476fd7059b3c91d8253993681746234055e1b Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Thu, 13 Jan 2022 17:05:35 -0800 Subject: [PATCH 10/14] fix missing - with _ --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 24a5621f966b..bb70e39ab05b 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -50,7 +50,7 @@ ci_gpu = "tlcpackstaging/ci_gpu:20220112-000102-d1ee20191" ci_cpu = "tlcpack/ci-cpu:v0.80" ci_wasm = "tlcpack/ci-wasm:v0.71" ci_i386 = "tlcpack/ci-i386:v0.74" -ci_qemu = "tlcpackstaging/ci-qemu:20220112-000102-d1ee20191" +ci_qemu = "tlcpackstaging/ci_qemu:20220112-000102-d1ee20191" ci_arm = "tlcpack/ci-arm:v0.06" // <--- End of regex-scanned config. From 77ed92db0eaa4869f0b308bc5db705d81795c930 Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Thu, 13 Jan 2022 21:13:36 -0800 Subject: [PATCH 11/14] upgrade to latest images --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index bb70e39ab05b..f547e0db58d6 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -46,11 +46,11 @@ import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. --> ci_lint = "tlcpack/ci-lint:v0.67" -ci_gpu = "tlcpackstaging/ci_gpu:20220112-000102-d1ee20191" +ci_gpu = "tlcpackstaging/ci_gpu:20220113-230019-74854135a" ci_cpu = "tlcpack/ci-cpu:v0.80" ci_wasm = "tlcpack/ci-wasm:v0.71" ci_i386 = "tlcpack/ci-i386:v0.74" -ci_qemu = "tlcpackstaging/ci_qemu:20220112-000102-d1ee20191" +ci_qemu = "tlcpackstaging/ci_qemu:20220113-230019-74854135a" ci_arm = "tlcpack/ci-arm:v0.06" // <--- End of regex-scanned config. From dee6b359aeab323d528f289c9ad6163d99b7e124 Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Fri, 14 Jan 2022 15:20:41 -0800 Subject: [PATCH 12/14] jostle ci From 07f9030412d99cf356e512769d0cf6e4e72a0868 Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Tue, 18 Jan 2022 11:36:53 -0800 Subject: [PATCH 13/14] update with official images --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f547e0db58d6..1cd8575fa3fd 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -46,11 +46,11 @@ import org.jenkinsci.plugins.pipeline.modeldefinition.Utils // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. --> ci_lint = "tlcpack/ci-lint:v0.67" -ci_gpu = "tlcpackstaging/ci_gpu:20220113-230019-74854135a" +ci_gpu = "tlcpack/ci-gpu:v0.80" ci_cpu = "tlcpack/ci-cpu:v0.80" ci_wasm = "tlcpack/ci-wasm:v0.71" ci_i386 = "tlcpack/ci-i386:v0.74" -ci_qemu = "tlcpackstaging/ci_qemu:20220113-230019-74854135a" +ci_qemu = "tlcpack/ci-qemu:v0.09" ci_arm = "tlcpack/ci-arm:v0.06" // <--- End of regex-scanned config. From 73e8b6b1cd7456a2b576dd0b839d04013669b935 Mon Sep 17 00:00:00 2001 From: Andrew Luo Date: Tue, 18 Jan 2022 15:56:20 -0800 Subject: [PATCH 14/14] jostle ci