mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[Feature] Enable prefix caching as default (#3816)
* [Feature] Enable prefix caching as default * [Feature] Enable prefix caching as default * Set prefix caching as default * skip dynamic load * fix kill bug * fix kill bug * fix kill bug * fix ci * fix --------- Co-authored-by: Jiang-Jia-Jun <163579578+Jiang-Jia-Jun@users.noreply.github.com>
This commit is contained in:
@@ -32,6 +32,7 @@ for file in $TEST_FILES; do
|
||||
else
|
||||
success_pytest=$((success_pytest+1))
|
||||
fi
|
||||
ps -ef | grep "${FD_CACHE_QUEUE_PORT}" | grep -v grep | awk '{print $2}' | xargs -r kill -9
|
||||
done
|
||||
|
||||
##################################
|
||||
|
||||
@@ -27,7 +27,7 @@ for subdir in "$run_path"*/; do
|
||||
timeout 600 python -m pytest --disable-warnings -sv "$file"
|
||||
exit_code=$?
|
||||
set -e
|
||||
|
||||
ps -ef | grep "${FD_CACHE_QUEUE_PORT}" | grep -v grep | awk '{print $2}' | xargs -r kill -9
|
||||
if [ $exit_code -ne 0 ]; then
|
||||
if [ -f "${subdir%/}/log/workerlog.0" ]; then
|
||||
echo "---------------- log/workerlog.0 -------------------"
|
||||
|
||||
Reference in New Issue
Block a user