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.
PR types
Performance optimization
PR changes
Others
Description
card-70106
次PR用来修复CI代理不稳定的问题
原来py3,build,coverage,gpups流水线下的每个任务会在cmake阶段下载brpc,leveldb,rocksdb第三方库,CINN相关的流水线(PR-CI-CINN,CINN-GPU,CINN-X86,CINN-GPU-CUDNN-OFF)的每个任务会在cmake阶段下载absl,jitffy第三方库,导致在任务高峰期,proxy带宽被占满,因此代理出问题。次PR将这5个第三方库放在submodule,clone流水线clone之后后续的流水线都可以复用这些第三方库,缓解占用带宽的压力。
To do:
1 优化CLone流水线,判断Paddle/third_party 的md5值,若有变化,则git clone --recursive,若无变化,则git clone Paddle ,然后wget third_party.tar.gz,进一步解除clone流水线对third_party clone的依赖
2 在ci插件进行git相关操作的时候实行retry机制(部分CI已替换)