From 24bbccea31e9c14b3061084e80c94e1cac881d67 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Wed, 3 Apr 2024 22:07:21 +0800 Subject: [PATCH 1/2] bump version into v2.6 Signed-off-by: chensuyue --- conda_meta/basic/meta.yaml | 4 ++-- conda_meta/neural_insights/meta.yaml | 2 +- conda_meta/neural_solution/meta.yaml | 2 +- neural_compressor/version.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conda_meta/basic/meta.yaml b/conda_meta/basic/meta.yaml index 46b9efc7d6d..c894131132e 100644 --- a/conda_meta/basic/meta.yaml +++ b/conda_meta/basic/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "2.5" %} +{% set version = "2.6" %} {% set buildnumber = 0 %} package: name: neural-compressor @@ -16,7 +16,7 @@ requirements: run: - python - pip - - numpy<=1.26.4 + - numpy - pyyaml - scikit-learn - schema diff --git a/conda_meta/neural_insights/meta.yaml b/conda_meta/neural_insights/meta.yaml index 9bcb7e7925e..add638448ad 100644 --- a/conda_meta/neural_insights/meta.yaml +++ b/conda_meta/neural_insights/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "2.5" %} +{% set version = "2.6" %} {% set buildnumber = 0 %} package: name: neural-insights diff --git a/conda_meta/neural_solution/meta.yaml b/conda_meta/neural_solution/meta.yaml index 1bbf729327d..cef0297fb5d 100644 --- a/conda_meta/neural_solution/meta.yaml +++ b/conda_meta/neural_solution/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "2.5" %} +{% set version = "2.6" %} {% set buildnumber = 0 %} package: name: neural-solution diff --git a/neural_compressor/version.py b/neural_compressor/version.py index 297e009aa43..d5e53c1aac7 100644 --- a/neural_compressor/version.py +++ b/neural_compressor/version.py @@ -15,4 +15,4 @@ # See the License for the specific language governing permissions and # limitations under the License. """IntelĀ® Neural Compressor: An open-source Python library supporting popular model compression techniques.""" -__version__ = "2.5" +__version__ = "2.6" From ee3b8310918ebd7da30bce975140ec28c3b7c3c4 Mon Sep 17 00:00:00 2001 From: chensuyue Date: Sat, 6 Apr 2024 14:01:31 +0800 Subject: [PATCH 2/2] fix onnx and ort compatible issue Signed-off-by: chensuyue --- .azure-pipelines/scripts/ut/run_itrex.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.azure-pipelines/scripts/ut/run_itrex.sh b/.azure-pipelines/scripts/ut/run_itrex.sh index 2f9f4ed79c0..74ff01c7062 100644 --- a/.azure-pipelines/scripts/ut/run_itrex.sh +++ b/.azure-pipelines/scripts/ut/run_itrex.sh @@ -13,6 +13,8 @@ bash /intel-extension-for-transformers/.github/workflows/script/install_binary.s # prepare test env sed -i '/neural-compressor.git/d' /intel-extension-for-transformers/tests/requirements.txt pip install -r /intel-extension-for-transformers/tests/requirements.txt +# workaround +pip install onnx==1.15.0 LOG_DIR=/neural-compressor/log_dir mkdir -p ${LOG_DIR} ut_log_name=${LOG_DIR}/ut_itrex.log