Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable NeuralChat Unit Test process #195

Merged
merged 71 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
17b37d2
Enable NeuralChat Unit Test process
lvliang-intel Aug 30, 2023
6739406
[CPP Graph] Falcon 40B (#175)
zhentaoyu Aug 30, 2023
411a589
upgrade transformers/hpu docker image/optimum habana version (#186)
sywangyi Aug 30, 2023
9a5055e
Update README.md (#198)
a32543254 Aug 30, 2023
54c0a8e
Refine reademe of llm runtime (#200)
kevinintel Aug 30, 2023
1a378c2
add proxy
lvliang-intel Aug 30, 2023
bba7b5c
add proxy
lvliang-intel Aug 31, 2023
5f42455
Update README.md (#188)
hshen14 Aug 30, 2023
61145db
refine code-generation example (#192)
changwangss Aug 30, 2023
2427234
GPTQ example support (#98)
YIYANGCAI Aug 31, 2023
309a3cf
add SKIP_RUNTIME and RUNTIME_ONLY in setup (#182)
xin3he Aug 31, 2023
acf5def
Revert "add SKIP_RUNTIME and RUNTIME_ONLY in setup (#182)"
VincyZhang Aug 31, 2023
b4c4f9d
add finetuning test for mpt-7b-chat with hpu (#204)
jiafuzha Aug 31, 2023
9e71158
llama 70b AutoTP inference (#202)
sywangyi Aug 31, 2023
588b124
Refine Inference Workflow Readme (#214)
hshen14 Aug 31, 2023
50d31fc
add inference test for llama-2-7b-chat-hf and mpt-7b-chat with hpu (#…
jiafuzha Sep 1, 2023
4af5e58
change docker image build dir for hpu (#218)
jiafuzha Sep 1, 2023
9415671
[CPP Graph] add s8 perchannel quant and kernel. (#181)
luoyu-intel Sep 1, 2023
cc46d39
Force CMake to add --std=cxx/c++xx (#205)
DDEle Sep 1, 2023
abdcc45
add SKIP_RUNTIME and RUNTIME_ONLY in setup (#212)
xin3he Sep 1, 2023
ecb7a09
neural_chat support torch.float32 (#217)
changwangss Sep 1, 2023
55940e3
update docker clean (#220)
VincyZhang Sep 1, 2023
71eff46
Fix graph model quantization with AVX2-only platforms (#221)
DDEle Sep 1, 2023
87bd0d5
refine reademe (#211)
kevinintel Sep 1, 2023
3801c39
Update NeuralChat inference with Docker (#197)
Liangyx2 Sep 1, 2023
477752b
Refined NeuralChat finetuning config (#222)
XinyuYe-Intel Sep 1, 2023
75dbdca
fix scan (#224)
a32543254 Sep 2, 2023
96b6749
support bloom for cpp (#207)
a32543254 Sep 2, 2023
c3cf983
Ut parallal (#199)
VincyZhang Sep 3, 2023
be74cf9
update test node
lvliang-intel Sep 3, 2023
9a1c7e3
Merge branch 'main' of https://github.com/intel/intel-extension-for-t…
lvliang-intel Sep 3, 2023
dbbb6e8
fix docker build
lvliang-intel Sep 3, 2023
cba649e
fix CI
VincyZhang Sep 4, 2023
97d2147
Merge branch 'main' into lvl/neuralchat_ut
VincyZhang Sep 4, 2023
7b07281
Merge branch 'main' of https://github.com/intel/intel-extension-for-t…
lvliang-intel Sep 4, 2023
b8ce200
Merge branch 'lvl/neuralchat_ut' of https://github.com/intel/intel-ex…
lvliang-intel Sep 4, 2023
66edcff
refine UT structure with coveragerc
VincyZhang Sep 4, 2023
fdcba8b
Merge branch 'main' into lvl/neuralchat_ut
hshen14 Sep 5, 2023
53e8356
update print log
VincyZhang Sep 5, 2023
6da5970
Merge branch 'lvl/neuralchat_ut' of https://github.com/intel/intel-ex…
VincyZhang Sep 5, 2023
4cdc5a1
fix ut issues
lvliang-intel Sep 5, 2023
2c5ff4a
Merge branch 'main' of https://github.com/intel/intel-extension-for-t…
lvliang-intel Sep 5, 2023
f91ae7e
Merge branch 'lvl/neuralchat_ut' of https://github.com/intel/intel-ex…
lvliang-intel Sep 5, 2023
4eebddb
fix finetuning and retrieval ut issue
lvliang-intel Sep 5, 2023
662be3f
Merge branch 'main' into lvl/neuralchat_ut
hshen14 Sep 5, 2023
9e6197b
Merge branch 'main' of https://github.com/intel/intel-extension-for-t…
lvliang-intel Sep 6, 2023
1d149de
update requirements.txt
lvliang-intel Sep 6, 2023
176d6db
Merge branch 'lvl/neuralchat_ut' of https://github.com/intel/intel-ex…
lvliang-intel Sep 6, 2023
02008e3
fix fastchat package issue
lvliang-intel Sep 6, 2023
1a8950f
fix fastchat name
lvliang-intel Sep 6, 2023
47e3c0e
fix issues
lvliang-intel Sep 6, 2023
45daa68
Merge branch 'main' of https://github.com/intel/intel-extension-for-t…
lvliang-intel Sep 6, 2023
cbf1d82
avoid build from source in pylint
VincyZhang Sep 6, 2023
3c1c396
Merge branch 'lvl/neuralchat_ut' of https://github.com/intel/intel-ex…
VincyZhang Sep 6, 2023
839835c
remove fastchat in UT
VincyZhang Sep 6, 2023
02a3fd4
update branch
VincyZhang Sep 6, 2023
d09e2d2
update yml
lvliang-intel Sep 6, 2023
2fce3f7
Merge branch 'main' of https://github.com/intel/intel-extension-for-t…
lvliang-intel Sep 6, 2023
93302d3
Merge branch 'lvl/neuralchat_ut' of https://github.com/intel/intel-ex…
lvliang-intel Sep 6, 2023
4753ba5
fix conflict
lvliang-intel Sep 6, 2023
88d3b88
fix conflict
lvliang-intel Sep 6, 2023
acee790
install libssl in docker
VincyZhang Sep 6, 2023
788e9d0
Merge branch 'lvl/neuralchat_ut' of https://github.com/intel/intel-ex…
VincyZhang Sep 6, 2023
77002b7
fix bandit and UT
VincyZhang Sep 6, 2023
0bc4770
Merge branch 'main' of https://github.com/intel/intel-extension-for-t…
lvliang-intel Sep 6, 2023
36cf07f
fix issue
lvliang-intel Sep 6, 2023
ff65c0b
fix can't find files issue
lvliang-intel Sep 6, 2023
8e9553e
rename file
lvliang-intel Sep 6, 2023
ddfa9cb
revert change
lvliang-intel Sep 6, 2023
de6e1e4
fix retrieval sample.xlsx format issue
lvliang-intel Sep 6, 2023
ed12613
clean code
VincyZhang Sep 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/cpp-graph-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-tags: true

- name: Env build
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-tags: true
# We need this because GitHub needs to clone the branch to pipeline
- name: Docker Build
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/llm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-tags: true

- name: Env build
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/optimize-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-tags: true
# We need this because GitHub needs to clone the branch to pipeline
- name: Docker Build
run: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/script/SparseLibCI/run_sparse_lib.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/bash
export COVERAGE_RCFILE="/intel-extension-for-transformers/.github/workflows/script/unitTest/coverage/.coveragerc"

output_log_dir="/intel-extension-for-transformers/benchmark_log"
WORKING_DIR="/intel-extension-for-transformers/intel_extension_for_transformers/llm/runtime/deprecated"
mkdir ${output_log_dir}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/script/formatScan/pylint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ $BOLD_YELLOW && echo "---------------- run python setup.py sdist bdist_wheel ---
export PYTHONPATH=`pwd`
#$BOLD_YELLOW && echo "---------------- pip install binary -------------" && $RESET
#pip install dist/intel_extension_for_transformers*.whl

pip list

cd /intel-extension-for-transformers/intel_extension_for_transformers/neural_chat/
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/script/unitTest/coverage/.coveragerc

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/script/unitTest/coverage/.engine-coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[run]
branch = True

[report]
omit =
*/**/fake*yaml
*/intel_extension_for_transformers/neural_chat/**
*/intel_extension_for_transformers/transformers/**
*/intel_extension_for_transformers/llm/evaluation/**
*/intel_extension_for_transformers/llm/finetuning/**
*/intel_extension_for_transformers/llm/inference/**
*/intel_extension_for_transformers/llm/quantization/**
exclude_lines =
pragma: no cover
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[run]
branch = True

[report]
omit =
*/**/fake*yaml
*/**/fake.py
*/intel_extension_for_transformers/llm/amp/**
*/intel_extension_for_transformers/llm/evaluation/**
*/intel_extension_for_transformers/llm/quantization/**
*/intel_extension_for_transformers/llm/library/**
*/intel_extension_for_transformers/llm/operator/**
*/intel_extension_for_transformers/llm/runtime/**
*/intel_extension_for_transformers/transformers/**
exclude_lines =
pragma: no cover
raise NotImplementedError
raise TypeError
if self.device == "gpu":
if device == "gpu":
except ImportError:
except Exception as e:
onnx_version < ONNX18_VERSION
onnx_version >= ONNX18_VERSION
8 changes: 6 additions & 2 deletions .github/workflows/script/unitTest/coverage/calc_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,22 @@ function check_coverage_status() {
$BOLD_RED && echo "Unit Test failed with ${item} coverage decrease ${decrease}%" && $RESET
done
$BOLD_RED && echo "compare coverage to give detail info" && $RESET
bash -x compare_coverage.sh ${coverage_compare} ${coverage_log_pr}/coverage.log ${coverage_log_base}/coverage.log "FAILED" ${coverage_PR_lines_rate} ${coverage_base_lines_rate} ${coverage_PR_branches_rate} ${coverage_base_branches_rate}
bash compare_coverage.sh ${coverage_compare} ${coverage_log_pr}/coverage.log ${coverage_log_base}/coverage.log "FAILED" ${coverage_PR_lines_rate} ${coverage_base_lines_rate} ${coverage_PR_branches_rate} ${coverage_base_branches_rate}
exit 1
else
$BOLD_GREEN && echo "Unit Test success with coverage lines: ${coverage_PR_lines_rate}%, branches: ${coverage_PR_branches_rate}%" && $RESET
$BOLD_GREEN && echo "compare coverage to give detail info" && $RESET
bash -x compare_coverage.sh ${coverage_compare} ${coverage_log_pr}/coverage.log ${coverage_log_base}/coverage.log "SUCCESS" ${coverage_PR_lines_rate} ${coverage_base_lines_rate} ${coverage_PR_branches_rate} ${coverage_base_branches_rate}
bash compare_coverage.sh ${coverage_compare} ${coverage_log_pr}/coverage.log ${coverage_log_base}/coverage.log "SUCCESS" ${coverage_PR_lines_rate} ${coverage_base_lines_rate} ${coverage_PR_branches_rate} ${coverage_base_branches_rate}
fi
}

function main() {
compare_coverage
check_coverage_status
$BOLD_BLUE && echo "PR lines coverage: $lines_PR_covered/$lines_PR_valid ($coverage_PR_lines_rate%)" && $RESET
$BOLD_BLUE && echo "PR branches coverage: $branches_PR_covered/$branches_PR_valid ($coverage_PR_branches_rate%)" && $RESET
$BOLD_BLUE && echo "BASE lines coverage: $lines_base_covered/$lines_base_valid ($coverage_base_lines_rate%)" && $RESET
$BOLD_BLUE && echo "BASE branches coverage: $branches_base_covered/$branches_base_valid ($coverage_base_branches_rate%)" && $RESET
}

main
10 changes: 8 additions & 2 deletions .github/workflows/script/unitTest/run_unit_test_engine.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
source /intel-extension-for-transformers/.github/workflows/script/change_color.sh
export COVERAGE_RCFILE="/intel-extension-for-transformers/.github/workflows/script/unitTest/coverage/.coveragerc"
export COVERAGE_RCFILE="/intel-extension-for-transformers/.github/workflows/script/unitTest/coverage/.engine-coveragerc"
LOG_DIR=/log_dir
mkdir -p ${LOG_DIR}
WORKING_DIR="/intel-extension-for-transformers/intel_extension_for_transformers/llm/runtime/deprecated"
Expand Down Expand Up @@ -86,7 +86,13 @@ function gtest() {

function main() {
bash /intel-extension-for-transformers/.github/workflows/script/unitTest/env_setup.sh
echo "test on ${test_name}"
cd ${WORKING_DIR}/test/pytest || exit 1
if [ -f "requirements.txt" ]; then
python -m pip install --default-timeout=100 -r requirements.txt
pip list
else
echo "Not found requirements.txt file."
fi
if [[ $test_name == "PR-test" ]]; then
pytest "${LOG_DIR}/coverage_pr"
gtest
Expand Down
71 changes: 71 additions & 0 deletions .github/workflows/script/unitTest/run_unit_test_neuralchat.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
#!/bin/bash
source /intel-extension-for-transformers/.github/workflows/script/change_color.sh
export COVERAGE_RCFILE="/intel-extension-for-transformers/.github/workflows/script/unitTest/coverage/.neural-chat-coveragerc"
LOG_DIR=/log_dir
mkdir -p ${LOG_DIR}
WORKING_DIR="/intel-extension-for-transformers/intel_extension_for_transformers/neural_chat/tests"
# get parameters
PATTERN='[-a-zA-Z0-9_]*='
PERF_STABLE_CHECK=true

for i in "$@"; do
case $i in
--test_name=*)
test_name=`echo $i | sed "s/${PATTERN}//"`;;
*)
echo "Parameter $i not recognized."; exit 1;;
esac
done

function pytest() {
local coverage_log_dir=$1
mkdir -p ${coverage_log_dir}

cd ${WORKING_DIR} || exit 1
JOB_NAME=unit_test
ut_log_name=${LOG_DIR}/${JOB_NAME}.log
export GLOG_minloglevel=2

itrex_path=$(python -c 'import intel_extension_for_transformers; import os; print(os.path.dirname(intel_extension_for_transformers.__file__))')
find . -name "test*.py" | sed 's,\.\/,coverage run --source='"${itrex_path}"' --append ,g' | sed 's/$/ --verbose/' >run.sh
coverage erase

# run UT
$BOLD_YELLOW && echo "cat run.sh..." && $RESET
cat run.sh | tee ${ut_log_name}
$BOLD_YELLOW && echo "------UT start-------" && $RESET
bash run.sh 2>&1 | tee -a ${ut_log_name}
$BOLD_YELLOW && echo "------UT end -------" && $RESET

# run coverage report
coverage report -m --rcfile=${COVERAGE_RCFILE} | tee ${coverage_log_dir}/coverage.log
coverage html -d ${coverage_log_dir}/htmlcov --rcfile=${COVERAGE_RCFILE}
coverage xml -o ${coverage_log_dir}/coverage.xml --rcfile=${COVERAGE_RCFILE}

# check UT status
if [ $(grep -c "FAILED" ${ut_log_name}) != 0 ] || [ $(grep -c "OK" ${ut_log_name}) == 0 ]; then
$BOLD_RED && echo "Find errors in UT test, please check the output..." && $RESET
exit 1
fi
$BOLD_GREEN && echo "UT finished successfully! " && $RESET
}

function main() {
bash /intel-extension-for-transformers/.github/workflows/script/unitTest/env_setup.sh
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
dpkg -i libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
cd ${WORKING_DIR} || exit 1
if [ -f "requirements.txt" ]; then
python -m pip install --default-timeout=100 -r requirements.txt
pip list
else
echo "Not found requirements.txt file."
fi
echo "test on ${test_name}"
if [[ $test_name == "PR-test" ]]; then
pytest "${LOG_DIR}/coverage_pr"
elif [[ $test_name == "baseline" ]]; then
pytest "${LOG_DIR}/coverage_base"
fi
}
main
1 change: 1 addition & 0 deletions .github/workflows/unit-test-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
with:
submodules: "recursive"
ref: ${{ matrix.test_branch }}
fetch-tags: true

- name: Docker Build
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-test-kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-tags: true

- name: Docker Build
run: |
Expand Down
141 changes: 141 additions & 0 deletions .github/workflows/unit-test-neuralchat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
name: NeuralChat Unit Test

on:
pull_request:
branches: [main]
paths:
- intel_extension_for_transformers/neural_chat/tests/**
- .github/workflows/unit-test-neuralchat.yml
- .github/workflows/script/unitTest/**
workflow_dispatch:

# If there is a new commit, the previous jobs will be canceled
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
DOCKER_CONFIG_NAME: "commonDockerConfig"
REPO_NAME: "intel-extension-for-transformers"
REPO_TAG: "py38"
DOCKER_FILE_NAME: "devel"
CONTAINER_NAME: "utTest"
EXTRA_CONTAINER_NAME: "modelTest"

jobs:
unit-test:
runs-on: [self-hosted, Linux, X64, itrex-node]
strategy:
matrix:
include:
- test_branch: ${{ github.ref }}
test_name: "PR-test"
- test_branch: "main"
test_name: "baseline"
steps:
- name: Docker Clean Up
run: |
docker ps -a
if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then
docker start ${{ env.CONTAINER_NAME }}
echo "remove left files through container ..."
docker exec ${{ env.CONTAINER_NAME }} bash -c "ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true"
fi
if [[ $(docker ps -a | grep -i '${{ env.EXTRA_CONTAINER_NAME }}'$) ]]; then
docker start ${{ env.EXTRA_CONTAINER_NAME }}
echo "remove left files through container ..."
docker exec ${{ env.EXTRA_CONTAINER_NAME }} bash -c "ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true"
fi

- name: Checkout out Repo
uses: actions/checkout@v3
with:
submodules: "recursive"
ref: ${{ matrix.test_branch }}
fetch-tags: true

- name: Docker Build
run: |
docker build -f ${{ github.workspace }}/.github/workflows/docker/${{ env.DOCKER_FILE_NAME }}.dockerfile -t ${{ env.REPO_NAME }}:${{ env.REPO_TAG }} .

- name: Docker Run
run: |
if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then
docker stop ${{ env.CONTAINER_NAME }}
docker rm -vf ${{ env.CONTAINER_NAME }} || true
fi
docker run -dit --disable-content-trust --privileged --name=${{ env.CONTAINER_NAME }} -v /dev/shm:/dev/shm \
-v ${{ github.workspace }}:/intel-extension-for-transformers \
${{ env.REPO_NAME }}:${{ env.REPO_TAG }}

- name: Env build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
bash /intel-extension-for-transformers/.github/workflows/script/prepare_env.sh

- name: Binary build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
bash -c "cd /intel-extension-for-transformers/.github/workflows/script \
&& bash install_binary.sh \
&& pip install intel_extension_for_pytorch wget sentencepiece \
&& pip install transformers>=4.32.0 \
&& pip install peft torch num2words speechbrain paddlepaddle \
&& pip install paddlespeech==1.4.1 shortuuid gptcache evaluate \
&& pip install fschat pydub python-multipart PyPDF2 langchain \
&& pip install python-docx scikit-learn farm-haystack librosa beautifulsoup4 \
&& pip install InstructorEmbedding chromadb pydantic fastapi starlette \
&& pip install yacs uvicorn optimum optimum[habana] \
&& pip install sentence_transformers unstructured markdown rouge_score \
&& pip install --upgrade accelerate"

- name: Run UT
run: |
docker exec ${{ env.CONTAINER_NAME }} \
bash -c "cd /intel-extension-for-transformers/.github/workflows/script/unitTest \
&& bash run_unit_test_neuralchat.sh --test_name=${{ matrix.test_name }}"

- name: Collect log
if: ${{ !cancelled() }}
run: |
docker exec ${{ env.CONTAINER_NAME }} \
bash -c "cd /intel-extension-for-transformers && \
mv /log_dir . "

- name: Publish pipeline artifact
uses: actions/upload-artifact@v3
if: ${{ !cancelled() }}
with:
name: "UnitTest${{ matrix.test_name }}"
path: ${{ github.workspace }}/log_dir


Genreate-Report:
runs-on: itrex-node-spell
needs: [unit-test]
steps:
- name: Checkout out Repo
uses: actions/checkout@v3
with:
submodules: "recursive"

- name: Download UT PR Log
uses: actions/download-artifact@v3
with:
path: ${{ github.workspace }}/log_dir

- name: Display structure of downloaded files
run: cd ${{ github.workspace }}/log_dir && ls -R

- name: Calculte coverage
run: |
cd ${{ github.workspace }}/.github/workflows/script/unitTest/coverage
/usr/bin/bash calc_coverage.sh ${{ github.workspace }}/log_dir

- name: Publish pipeline artifact
uses: actions/upload-artifact@v3
if: ${{ !cancelled() }}
with:
name: Neural Chat Unit Test
path: ${{ github.workspace }}/log_dir
retention-days: 5
3 changes: 2 additions & 1 deletion .github/workflows/unit-test-optimize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
with:
submodules: "recursive"
ref: ${{ matrix.test_branch }}
fetch-tags: true

- name: Docker Build
run: |
Expand Down Expand Up @@ -131,7 +132,7 @@ jobs:
uses: actions/upload-artifact@v3
if: ${{ !cancelled() }}
with:
name: Engine Unit Test
name: Optimize Unit Test
path: ${{ github.workspace }}/log_dir
retention-days: 5

Expand Down
2 changes: 1 addition & 1 deletion intel_extension_for_transformers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
try:
from ._version import __version__ # load _version file generated by setuptools_scm
except ModuleNotFoundError:
__version__ = "0.0.0"
__version__ = "1.1"
Loading
Loading