diff --git a/.github/workflows/script/install_binary.sh b/.github/workflows/script/install_binary.sh index 7bca0d4d2f3..a33a6607b1b 100644 --- a/.github/workflows/script/install_binary.sh +++ b/.github/workflows/script/install_binary.sh @@ -1,4 +1,5 @@ #!/bin/bash + source /intel-extension-for-transformers/.github/workflows/script/change_color.sh cd /intel-extension-for-transformers @@ -10,7 +11,7 @@ git config --global --add safe.directory "*" git submodule update --init --recursive -$BOLD_YELLOW && echo "---------------- run python setup.py sdist bdist_wheel -------------" && $RESET +$BOLD_YELLOW && echo "---------------- run python setup.py bdist_wheel -------------" && $RESET python setup.py bdist_wheel diff --git a/.github/workflows/unit-test-optimize.yml b/.github/workflows/unit-test-optimize.yml index 4d11947d92c..6399df03878 100644 --- a/.github/workflows/unit-test-optimize.yml +++ b/.github/workflows/unit-test-optimize.yml @@ -67,7 +67,7 @@ jobs: with: submodules: "recursive" ref: ${{ matrix.test_branch }} - fetch-tags: true + fetch-depth: 0 - name: Docker Build run: | diff --git a/examples/huggingface/pytorch/text-generation/quantization/requirements_sq.txt b/examples/huggingface/pytorch/text-generation/quantization/requirements_sq.txt index 047f65d091a..1ce834dda7b 100644 --- a/examples/huggingface/pytorch/text-generation/quantization/requirements_sq.txt +++ b/examples/huggingface/pytorch/text-generation/quantization/requirements_sq.txt @@ -7,7 +7,7 @@ sentencepiece != 0.1.92 torch==2.3.0+cpu transformers==4.38.1 intel_extension_for_pytorch==2.3.0 -optimum-intel==1.16.1 +optimum-intel bitsandbytes #baichuan transformers_stream_generator tiktoken #qwen diff --git a/tests/requirements.txt b/tests/requirements.txt index 4dbac7def89..4ae2eb85d49 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -16,7 +16,7 @@ mlflow nlpaug==1.1.9 onnx onnxruntime -optimum-intel==1.16.1 +optimum-intel peft==0.6.2 py-cpuinfo sacremoses