-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PaddleV3] 修改 Dockerfile 为 Paddle 3.0.0beta 并添加 CI 测试的 blacklist #1061
Merged
Merged
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
4b8c617
[Update] dockerfile and ci script
megemini 87d1587
[Update] dockerfile of protobuf version
megemini 71376b7
[Update] easyocr version
megemini 1aeed0d
[Update] easyocr version
megemini 7ee86f7
[Fix] docker cuda version
megemini 01eb968
Revert "[Fix] docker cuda version"
megemini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
FROM paddlepaddle/paddle:latest-dev-cuda11.2-cudnn8-gcc82 | ||
|
||
RUN wget https://paddle-qa.bj.bcebos.com/PaddleX2paddle/torch-1.7.0-cp37-cp37m-linux_x86_64.whl --no-proxy && \ | ||
wget https://paddle-qa.bj.bcebos.com/PaddleX2paddle/torchvision-0.8.1-cp37-cp37m-linux_x86_64.whl --no-proxy && \ | ||
wget https://paddle-wheel.bj.bcebos.com/2.4.2/linux/linux-gpu-cuda11.2-cudnn8-mkl-gcc8.2-avx/paddlepaddle_gpu-2.4.2.post112-cp37-cp37m-linux_x86_64.whl --no-proxy | ||
|
||
RUN python --version && unlink /usr/bin/python && ln -s /usr/bin/python3.7 /usr/bin/python | ||
FROM paddlepaddle/paddle:latest-dev-cuda11.2-cudnn8.2-trt8.0-gcc82 | ||
|
||
ENV HTTP_PROXY <HTTP_PROXY> | ||
ENV HTTPS_PROXY <HTTPS_PROXY> | ||
RUN export http_proxy=$HTTP_PROXY | ||
RUN export https_proxy=$HTTPS_PROXY | ||
|
||
RUN python -m pip install --upgrade pip && \ | ||
python -m pip install wget timm transformers==3.1.0 ./*.whl pandas nose pytest opencv-python==4.6.0.66 allure-pytest && \ | ||
python -m pip install pynvml psutil GPUtil sympy treelib tensorflow==1.14.0 onnx==1.10.0 onnxruntime==1.10.0 easyocr==1.2.1 && \ | ||
python -m pip install torchmetrics==0.10.2 pytorch_lightning==1.5.3 kornia==0.5.11 hypothesis pre-commit==2.17.0 && \ | ||
python -m pip install wget timm transformers pandas nose pytest opencv-python==4.6.0.66 allure-pytest && \ | ||
python -m pip install torch==2.4.1 torchvision torchaudio tensorflow==2.16.1 onnx==1.17.0 onnxruntime && \ | ||
python -m pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/ && \ | ||
python -m pip install pynvml psutil GPUtil sympy treelib easyocr && \ | ||
python -m pip install torchmetrics pytorch_lightning kornia==0.5.11 hypothesis pre-commit==2.17.0 protobuf==3.20.2 && \ | ||
python -m pip install --upgrade virtualenv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#生成镜像 | ||
docker build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy -t paddlepaddle/x2paddle:latest-dev-cuda11.2-cudnn8-gcc82 . | ||
docker build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy -t paddlepaddle/x2paddle:latest-dev-cuda11.2-cudnn8.2-trt8.0-gcc82 . | ||
|
||
#进入镜像 | ||
nvidia-docker run -it --cpu-shares=20000 --name=user-x2paddle --rm -v /usr/bin/nvidia-smi:/usr/bin/nvidia-smi -v $(pwd):/workspace paddlepaddle/x2paddle:latest-dev-cuda11.2-cudnn8-gcc82 /bin/bash | ||
nvidia-docker run -it --cpu-shares=20000 --name=user-x2paddle --rm -v /usr/bin/nvidia-smi:/usr/bin/nvidia-smi -v $(pwd):/workspace paddlepaddle/x2paddle:latest-dev-cuda11.2-cudnn8.2-trt8.0-gcc82 /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
3class | ||
AlexNet | ||
FaceDetction | ||
MNasNet | ||
MTCNN1 | ||
MTCNN2 | ||
MTCNN3 | ||
MobileNetV1 | ||
MobileNetV2 | ||
ResNet18 | ||
ResNet50 | ||
SSD | ||
SegFlow | ||
ShuffleNet | ||
SqueezeNet | ||
TSM | ||
UNet | ||
VGG16 | ||
VGG19 | ||
caffemodel1 | ||
tools | ||
output | ||
dataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
FaceNet | ||
GPEN | ||
IDG_detection_registration_p1 | ||
IDG_detection_registration_p2 | ||
IDG_keypoint_selection | ||
IDG_local_vis | ||
IDG_multi_modal_crop_cnn_model | ||
IDG_multi_modal_fully_cnn_model | ||
IDG_multi_modal_sequential_model | ||
IDG_test_process | ||
IDG_test_sim_feat_new | ||
MLPerf_ResNet50 | ||
Poselandmarks | ||
Seg | ||
SwinTransformer | ||
VIT_online | ||
alexnet | ||
basnet | ||
bert6 | ||
best_float32 | ||
cifarnet | ||
circledet | ||
crnn_lstm | ||
densenet121 | ||
efficientnet_b0 | ||
face_cyclegan_34 | ||
facedetector | ||
hand_landmark_ar | ||
inceptionv1 | ||
inceptionv2 | ||
mmdetection_fasterrcnn | ||
mmdetection_fcos | ||
mmdetection_fsaf | ||
mmdetection_retina | ||
mmdetection_ssd | ||
mmdetection_yolov3 | ||
mnasnet_a1 | ||
mobilefacenet | ||
mobilenet_v2 | ||
modelGen | ||
pnasnet_mobile | ||
resnet101 | ||
resnet152 | ||
resnet18 | ||
resnet34 | ||
resnet50 | ||
ronin_2d_cp9 | ||
shufflenet | ||
squeezenet | ||
transformer | ||
vgg11 | ||
vgg11_bn | ||
vgg16_bn | ||
vgg19 | ||
vgg19_bn | ||
yolov5s | ||
yolov5s_fix_resize | ||
dataset | ||
tools | ||
output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
ACG_UnitTest | ||
AlexNet | ||
BASNet | ||
BertForMaskedLM_dccuchile | ||
BertModel_SpanBert | ||
CamembertForQuestionAnswering | ||
DBFace | ||
DPRContextEncoder | ||
DeepLabv3_ResNet50 | ||
EDSR | ||
EasyOCR_detector | ||
EasyOCR_recognizer | ||
ElectraModel | ||
FCN_ResNet50 | ||
FlaubertModel | ||
GRU | ||
InceptionV3 | ||
MNasNet | ||
MiniFasNet | ||
MobileNetV2 | ||
Mobilestereonet | ||
MockingBird | ||
ResNet18 | ||
ResNet18_2 | ||
Roberta | ||
Saicinpainting_LaMa | ||
ShuffleNetV2 | ||
SqueezeNet | ||
SwinTransformer | ||
VGG16 | ||
XLMRobertaForTokenClassification | ||
mobilenetv3 | ||
opadd | ||
dataset | ||
tools | ||
output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
AlBert | ||
EfficientNet | ||
InceptionResNetV2 | ||
InceptionV3 | ||
InceptionV4 | ||
KerasBert | ||
MNASNetA1 | ||
MTCNN-ONet | ||
MTCNN-PNet | ||
MTCNN-RNet | ||
MobileNetV1 | ||
MobileNetV2 | ||
MobileNetV3_large | ||
ResNetV1 | ||
ResNetV2 | ||
RetinaFace | ||
ShuffleNet | ||
SqueezeNet | ||
ToyUNet-ToyUnet | ||
ToyUNet-UNet | ||
UNet-GanUNet | ||
UNet-UNet | ||
VGG16 | ||
YOLOv3 | ||
YOLOv3_darknet | ||
frozen | ||
frozen_MobileNetV1 | ||
pix2pix | ||
dataset | ||
tools | ||
output |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
11.2的镜像可以装3.0.0b1么?