From 74950a152ab26888673f3c61adbcd4642d98cda8 Mon Sep 17 00:00:00 2001 From: "Wang, Jian4" <61138589+hzjane@users.noreply.github.com> Date: Mon, 20 May 2024 16:48:40 +0800 Subject: [PATCH] Fix tgi_api_server error file name (#11075) --- python/llm/dev/test/lint-python | 2 +- .../serving/fastchat/{tgi_api_server => tgi_api_server.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename python/llm/src/ipex_llm/serving/fastchat/{tgi_api_server => tgi_api_server.py} (100%) diff --git a/python/llm/dev/test/lint-python b/python/llm/dev/test/lint-python index dc08e5aa..154c4fda 100755 --- a/python/llm/dev/test/lint-python +++ b/python/llm/dev/test/lint-python @@ -21,7 +21,7 @@ SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )" PYTHON_ROOT_DIR="$SCRIPT_DIR/.." echo $PYTHON_ROOT_DIR PATHS_TO_CHECK="$SCRIPT_DIR/../../src" -PATTERNS_TO_EXCLUDE="__init__.py,log4Error.py,$SCRIPT_DIR/../../src/ipex_llm/langchain/*,$SCRIPT_DIR/../../src/ipex_llm/transformers/gguf/models/model_implement/yuan2/*,benchmark_util.py" +PATTERNS_TO_EXCLUDE="__init__.py,log4Error.py,$SCRIPT_DIR/../../src/ipex_llm/langchain/*,$SCRIPT_DIR/../../src/ipex_llm/transformers/gguf/models/model_implement/yuan2/*,benchmark_util.py,tgi_api_server.py" PEP8_REPORT_PATH="$PYTHON_ROOT_DIR/test/pep8-report.txt" PYLINT_REPORT_PATH="$PYTHON_ROOT_DIR/test/pylint-report.txt" PYLINT_INSTALL_INFO="$PYTHON_ROOT_DIR/test/pylint-info.txt" diff --git a/python/llm/src/ipex_llm/serving/fastchat/tgi_api_server b/python/llm/src/ipex_llm/serving/fastchat/tgi_api_server.py similarity index 100% rename from python/llm/src/ipex_llm/serving/fastchat/tgi_api_server rename to python/llm/src/ipex_llm/serving/fastchat/tgi_api_server.py