Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
update transformers version (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincyZhang authored Sep 15, 2023
1 parent ff299b2 commit fcd59ab
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 23 deletions.
16 changes: 15 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions .github/workflows/cpp-graph-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/llm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/optimize-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/script/install_binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/unit-test-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/unit-test-neuralchat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/unit-test-optimize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit fcd59ab

Please sign in to comment.