mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-12 20:11:20 +08:00
Apply CI fix from Develop (#3151)
* fix ci approve * Describe PR diff coverage using JSON file (#3114) * Refactored ci pipeline * update * Describe PR diff coverage using JSON file * remove pip cache setting from Approve * fix * update * fix ci (#3141) * fix
This commit is contained in:
@@ -6,7 +6,23 @@ run_path="$DIR/../test/"
|
||||
cd ${run_path}
|
||||
ls
|
||||
|
||||
dirs=("layers" "operators" "worker" "utils")
|
||||
exclude=("ci_use" "ce")
|
||||
for d in */ ; do
|
||||
dir_name="${d%/}"
|
||||
if [[ -d "$dir_name" ]]; then
|
||||
skip=false
|
||||
for ex in "${exclude[@]}"; do
|
||||
if [[ "$dir_name" == "$ex" ]]; then
|
||||
skip=true
|
||||
break
|
||||
fi
|
||||
done
|
||||
if ! $skip; then
|
||||
dirs+=("$dir_name")
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
failed_tests_file="failed_tests.log"
|
||||
> "$failed_tests_file"
|
||||
disabled_tests=(
|
||||
@@ -20,6 +36,10 @@ disabled_tests=(
|
||||
operators/test_stop_generation.py
|
||||
operators/test_air_topp_sampling.py
|
||||
operators/test_fused_moe.py
|
||||
layers/test_repetition_early_stopper.py
|
||||
operators/test_stop_generation_multi_ends.py
|
||||
utils/test_download.py
|
||||
graph_optimization/test_cuda_graph.py
|
||||
)
|
||||
is_disabled() {
|
||||
local test_file_rel="$1"
|
||||
|
@@ -3,13 +3,10 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
echo "$DIR"
|
||||
|
||||
# python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
|
||||
python -m pip install paddlepaddle-gpu==3.0.0.dev20250729 -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
|
||||
python -m pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
|
||||
|
||||
|
||||
python -m pip install -r requirements.txt
|
||||
python -m pip install jsonschema aistudio_sdk==0.3.5
|
||||
bash build.sh || exit 1
|
||||
|
||||
failed_files=()
|
||||
run_path="$DIR/../test/ci_use/"
|
Reference in New Issue
Block a user