Add ci (#2650)
Deploy GitHub Pages / deploy (push) Has been cancelled

* add ci ut and workflow

* Automatically cancel any previous CI runs for the ci.yml workflow, keeping only the latest one active
This commit is contained in:
YUNSHEN XIE
2025-06-30 20:20:49 +08:00
committed by GitHub
parent 6bead64f48
commit d5af78945b
6 changed files with 736 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle:cuda126-dev
RUN apt update && apt install -y lsof
RUN wget https://raw.githubusercontent.com/PaddlePaddle/FastDeploy/refs/heads/develop/requirements.txt
RUN python -m pip install -r requirements.txt -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple && python -m pip install pytest
RUN apt update && apt install -y python3.10-venv
+9
View File
@@ -0,0 +1,9 @@
PRODUCT_NAME='ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle:fastdeploy-ciuse-cuda126'
#proxy='agent.baidu.com:8188'
cp ../../requirements.txt ./
docker build -t ${PRODUCT_NAME} -f Dockerfile.ci . \
--network host
# --build-arg HTTP_PROXY=${proxy} \
# --build-arg HTTPS_PROXY=${proxy} \
# --build-arg ftp_proxy=${proxy}
+27
View File
@@ -0,0 +1,27 @@
setuptools==75.1.0
pre-commit
yapf
flake8
ruamel.yaml
zmq
aiozmq
openai
tqdm
pynvml
uvicorn
fastapi
paddlenlp @ https://paddle-qa.bj.bcebos.com/paddlenlp/wheel/c1322be06cdf366ad2d996e963499f5298d2a2bc/paddlenlp-3.0.0b4.post20250530-py3-none-any.whl
redis
etcd3
httpx
tool_helpers
cupy-cuda12x
pybind11
tabulate
gradio
xlwt
visualdl
setuptools-scm>=8
prometheus-client
decord
moviepy