From ca1ced6098fc301bfa0a3accd816df401fa7a5ca Mon Sep 17 00:00:00 2001 From: Luke Hutton Date: Thu, 28 Sep 2023 08:50:46 +0000 Subject: [PATCH 1/3] [CI] Update ci-gpu image The ci-gpu is updated to make changes in #15819 reflect in CI. Change-Id: I5370f80fa82839a8e2f97cf3de9bd1ede7e2d350 --- ci/jenkins/docker-images.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/jenkins/docker-images.ini b/ci/jenkins/docker-images.ini index 78f24dcbd3c3..685b5434a4cf 100644 --- a/ci/jenkins/docker-images.ini +++ b/ci/jenkins/docker-images.ini @@ -20,7 +20,7 @@ ci_arm: tlcpack/ci-arm:20230615-060132-62a5e7acf ci_cortexm: tlcpack/ci-cortexm:20230710-060128-a60cd0fec ci_cpu: tlcpack/ci-cpu:20230604-060130-0af9ff90e -ci_gpu: tlcpack/ci-gpu:20230504-142417-4d37a0a0 +ci_gpu: tlcpack/ci-gpu:20230928-060137-cf081d992 ci_hexagon: tlcpack/ci-hexagon:20230504-142417-4d37a0a0 ci_i386: tlcpack/ci-i386:20230504-142417-4d37a0a0 ci_lint: tlcpack/ci-lint:20230504-142417-4d37a0a0 From 416a33a791504dfe1fc4e81b3860997dea5d2c03 Mon Sep 17 00:00:00 2001 From: Luke Hutton Date: Wed, 4 Oct 2023 15:36:50 +0000 Subject: [PATCH 2/3] update image that contains oneflow==0.8.0 Change-Id: I4e6caca8d9e3aa93b67b006a2f03b391ec708d53 --- ci/jenkins/docker-images.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/jenkins/docker-images.ini b/ci/jenkins/docker-images.ini index 685b5434a4cf..3bbf5b90d6b8 100644 --- a/ci/jenkins/docker-images.ini +++ b/ci/jenkins/docker-images.ini @@ -20,7 +20,7 @@ ci_arm: tlcpack/ci-arm:20230615-060132-62a5e7acf ci_cortexm: tlcpack/ci-cortexm:20230710-060128-a60cd0fec ci_cpu: tlcpack/ci-cpu:20230604-060130-0af9ff90e -ci_gpu: tlcpack/ci-gpu:20230928-060137-cf081d992 +ci_gpu: tlcpack/ci-gpu:20231004-111300-7a1f7d0b ci_hexagon: tlcpack/ci-hexagon:20230504-142417-4d37a0a0 ci_i386: tlcpack/ci-i386:20230504-142417-4d37a0a0 ci_lint: tlcpack/ci-lint:20230504-142417-4d37a0a0 From 6d3269a251693b6fa104bf7e8d75e3457de92c3d Mon Sep 17 00:00:00 2001 From: Luke Hutton Date: Thu, 5 Oct 2023 09:38:59 +0000 Subject: [PATCH 3/3] Force old coreml api to fix failing test Between the previous ci_gpu image and the one in use now, the version of coreml has changed since it is unpinned (6.3.0 -> 7.0.0). This caused a test failure in the coreml frontend tests. The problem is that coreml now uses a new default format for models. This commit forces coreml to use the old model format so the test passes. More information can be found here: https://apple.github.io/coremltools/docs-guides/source/convert-learning-models.html Change-Id: Id2273ccac0ae771f10dda6590e9f4cdd657a5d25 --- tests/python/frontend/coreml/test_forward.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/python/frontend/coreml/test_forward.py b/tests/python/frontend/coreml/test_forward.py index dd1aaf30851f..e381f447343f 100644 --- a/tests/python/frontend/coreml/test_forward.py +++ b/tests/python/frontend/coreml/test_forward.py @@ -823,7 +823,9 @@ def test_can_build_keras_to_coreml_to_relay(): kmodel_fn = path.join(tmpdir, "c1mdl.h5") model.save(kmodel_fn) - mdl = cm.convert(kmodel_fn) + mdl = cm.convert( + kmodel_fn, convert_to="neuralnetwork", minimum_deployment_target=cm.target.macOS11 + ) model_file = path.join(tmpdir, "c1.mlmodel") mdl.save(model_file)