From fcd59ab702c40307cb3eaf24c5ec88cf61ad63f1 Mon Sep 17 00:00:00 2001 From: VincyZhang Date: Fri, 15 Sep 2023 16:57:21 +0800 Subject: [PATCH] update transformers version (#307) --- .github/CODEOWNERS | 16 +++++++++++++++- .github/workflows/cpp-graph-test.yml | 2 -- .github/workflows/deploy-test.yml | 2 -- .github/workflows/llm-test.yml | 2 -- .github/workflows/optimize-test.yml | 2 -- .github/workflows/script/install_binary.sh | 2 +- .github/workflows/unit-test-engine.yml | 2 -- .github/workflows/unit-test-neuralchat.yml | 4 +--- .github/workflows/unit-test-optimize.yml | 2 -- .../summarization/quantization/run_benchmark.sh | 2 -- .../summarization/quantization/run_tuning.sh | 2 -- setup.py | 3 +-- 12 files changed, 18 insertions(+), 23 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f3b726a6129..7423cf3468b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -27,4 +27,18 @@ /intel_extension_for_transformers/llm/runtime/deprecated/Cmake* yu.luo@intel.com /intel_extension_for_transformers/llm/runtime/deprecated/cmake/ yu.luo@intel.com -/intel_extension_for_transformers/llm/runtime/graph/jblas yu.luo@intel.com +/intel_extension_for_transformers/llm/libarary/jblas yu.luo@intel.com +/intel_extension_for_transformers/llm/runtime/graph hengyu.meng@intel.com +/intel_extension_for_transformers/llm/libarary hengyu.meng@intel.com +/intel_extension_for_transformers/llm/runtime/deprecated bo1.dong@intel.com +/intel_extension_for_transformers/llm/operator bo1.dong@intel.com +/intel_extension_for_transformers/llm/evaluation chang1.wang@intel.com +/intel_extension_for_transformers/llm/finetuning liang1.lv@intel.com +/intel_extension_for_transformers/llm/inference liang1.lv@intel.com +/intel_extension_for_transformers/neural_chat liang1.lv@intel.com +/workflows/chatbot liang1.lv@intel.com +/intel_extension_for_transformers/llm/quantization penghui.cheng@intel.com +/intel_extension_for_transformers/transformers penghui.cheng@intel.com +/intel_extension_for_transformers/utils penghui.cheng@intel.com +/docs wenxin.zhang@intel.com +/.github wenxin.zhang@intel.com \ No newline at end of file diff --git a/.github/workflows/cpp-graph-test.yml b/.github/workflows/cpp-graph-test.yml index 908a70782a1..9b1d4922b0a 100644 --- a/.github/workflows/cpp-graph-test.yml +++ b/.github/workflows/cpp-graph-test.yml @@ -84,8 +84,6 @@ jobs: fi - name: Checkout out Repo uses: actions/checkout@v3 - with: - submodules: "recursive" - name: Download Summary Log uses: actions/download-artifact@v3 diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index 2c5dcfa66d3..12ef2a758cc 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -157,8 +157,6 @@ jobs: fi - name: Checkout out Repo uses: actions/checkout@v3 - with: - submodules: "recursive" - name: Download Summary Log uses: actions/download-artifact@v3 diff --git a/.github/workflows/llm-test.yml b/.github/workflows/llm-test.yml index b484f7f23b8..00e4f7ed1ee 100644 --- a/.github/workflows/llm-test.yml +++ b/.github/workflows/llm-test.yml @@ -95,8 +95,6 @@ jobs: fi - name: Checkout out Repo uses: actions/checkout@v3 - with: - submodules: "recursive" - name: Download Summary Log uses: actions/download-artifact@v3 diff --git a/.github/workflows/optimize-test.yml b/.github/workflows/optimize-test.yml index 6788cd366d9..5182eeeaf47 100644 --- a/.github/workflows/optimize-test.yml +++ b/.github/workflows/optimize-test.yml @@ -161,8 +161,6 @@ jobs: fi - name: Checkout out Repo uses: actions/checkout@v3 - with: - submodules: "recursive" - name: Download Summary Log uses: actions/download-artifact@v3 diff --git a/.github/workflows/script/install_binary.sh b/.github/workflows/script/install_binary.sh index 344d29c8cf1..db778732150 100644 --- a/.github/workflows/script/install_binary.sh +++ b/.github/workflows/script/install_binary.sh @@ -7,7 +7,7 @@ $BOLD_YELLOW && echo "---------------- git submodule update --init --recursive - 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 pip install build --upgrade python3 -m build -s -w diff --git a/.github/workflows/unit-test-engine.yml b/.github/workflows/unit-test-engine.yml index c21c1d0e37f..2aff25c5e91 100644 --- a/.github/workflows/unit-test-engine.yml +++ b/.github/workflows/unit-test-engine.yml @@ -113,8 +113,6 @@ jobs: steps: - name: Checkout out Repo uses: actions/checkout@v3 - with: - submodules: "recursive" - name: Download UT PR Log uses: actions/download-artifact@v3 diff --git a/.github/workflows/unit-test-neuralchat.yml b/.github/workflows/unit-test-neuralchat.yml index b82652c3ed8..a70714e89d8 100644 --- a/.github/workflows/unit-test-neuralchat.yml +++ b/.github/workflows/unit-test-neuralchat.yml @@ -111,14 +111,12 @@ jobs: path: ${{ github.workspace }}/log_dir - Genreate-Report: + Generate-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 diff --git a/.github/workflows/unit-test-optimize.yml b/.github/workflows/unit-test-optimize.yml index 3b398418e6a..cee522c0819 100644 --- a/.github/workflows/unit-test-optimize.yml +++ b/.github/workflows/unit-test-optimize.yml @@ -113,8 +113,6 @@ jobs: steps: - name: Checkout out Repo uses: actions/checkout@v3 - with: - submodules: "recursive" - name: Download UT PR Log uses: actions/download-artifact@v3 diff --git a/examples/huggingface/pytorch/summarization/quantization/run_benchmark.sh b/examples/huggingface/pytorch/summarization/quantization/run_benchmark.sh index 6604b200384..42b6fb1d33c 100644 --- a/examples/huggingface/pytorch/summarization/quantization/run_benchmark.sh +++ b/examples/huggingface/pytorch/summarization/quantization/run_benchmark.sh @@ -72,11 +72,9 @@ function run_benchmark { elif [ "${topology}" == "t5_base_cnn_dynamic" ]; then DATASET_NAME="cnn_dailymail" model_name_or_path="flax-community/t5-base-cnn-dm" - pip install transformers==4.26.0 elif [ "${topology}" == "t5_large_cnn_dynamic" ]; then DATASET_NAME="cnn_dailymail" model_name_or_path="sysresearch101/t5-large-finetuned-xsum-cnn" - pip install transformers==4.26.0 elif [ "${topology}" == "flan_t5_large_samsum_dynamic" ]; then DATASET_NAME="samsum" model_name_or_path="stacked-summaries/flan-t5-large-stacked-samsum-1024" diff --git a/examples/huggingface/pytorch/summarization/quantization/run_tuning.sh b/examples/huggingface/pytorch/summarization/quantization/run_tuning.sh index a2ac67c4fc0..298e49bda64 100644 --- a/examples/huggingface/pytorch/summarization/quantization/run_tuning.sh +++ b/examples/huggingface/pytorch/summarization/quantization/run_tuning.sh @@ -50,12 +50,10 @@ function run_tuning { DATASET_NAME="cnn_dailymail" model_name_or_path="flax-community/t5-base-cnn-dm" approach="PostTrainingDynamic" - pip install transformers==4.26.0 elif [ "${topology}" == "t5_large_cnn_dynamic" ]; then DATASET_NAME="cnn_dailymail" model_name_or_path="sysresearch101/t5-large-finetuned-xsum-cnn" approach="PostTrainingDynamic" - pip install transformers==4.26.0 elif [ "${topology}" == "flan_t5_large_samsum_dynamic" ]; then DATASET_NAME="samsum" model_name_or_path="stacked-summaries/flan-t5-large-stacked-samsum-1024" diff --git a/setup.py b/setup.py index fdcde89bffa..1c905be8f10 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,6 @@ def check_env_flag(name: str, default: bool = False) -> bool: # define install requirements install_requires_list = ['packaging', 'numpy', 'schema', 'pyyaml'] opt_install_requires_list = ['neural_compressor', 'transformers'] -project_name = "intel_extension_for_transformers" packages_list = find_packages() install_requires_list.extend(opt_install_requires_list) @@ -245,7 +244,7 @@ def check_submodules(): cmdclass={'build_ext': CMakeBuild} setup( - name=project_name, + name="intel_extension_for_transformers", author="Intel AIA/AIPC Team", author_email="feng.tian@intel.com, haihao.shen@intel.com,hanwen.chang@intel.com, penghui.cheng@intel.com", description="Repository of IntelĀ® Intel Extension for Transformers",