-
Notifications
You must be signed in to change notification settings - Fork 157
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
Add t5_for_conditional_generation and gpt_for_sequence_classification benchmark #1581
Open
FrostML
wants to merge
4
commits into
PaddlePaddle:develop
Choose a base branch
from
FrostML:t5-gpt
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
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
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
10 changes: 10 additions & 0 deletions
10
...ripts/gpt_for_sequence_classification/N1C1/gpt_for_sequence_classification_bs8_fp16_DP.sh
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,10 @@ | ||
model_item=gpt_for_sequence_classification | ||
bs_item=8 | ||
fp_item=fp16 | ||
run_process_type=SingleP | ||
run_mode=DP | ||
device_num=N1C1 | ||
|
||
sed -i '/set\ -xe/d' run_benchmark.sh | ||
bash PrepareEnv.sh; | ||
CUDA_VISIBLE_DEVICES=0 bash run_benchmark.sh ${model_item} ${bs_item} ${fp_item} ${run_process_type} ${run_mode} ${device_num} 2>&1; |
10 changes: 10 additions & 0 deletions
10
...ripts/gpt_for_sequence_classification/N1C1/gpt_for_sequence_classification_bs8_fp32_DP.sh
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,10 @@ | ||
model_item=gpt_for_sequence_classification | ||
bs_item=8 | ||
fp_item=fp32 | ||
run_process_type=SingleP | ||
run_mode=DP | ||
device_num=N1C1 | ||
|
||
sed -i '/set\ -xe/d' run_benchmark.sh | ||
bash PrepareEnv.sh; | ||
CUDA_VISIBLE_DEVICES=0 bash run_benchmark.sh ${model_item} ${bs_item} ${fp_item} ${run_process_type} ${run_mode} ${device_num} 2>&1; |
10 changes: 10 additions & 0 deletions
10
...ripts/gpt_for_sequence_classification/N1C8/gpt_for_sequence_classification_bs8_fp16_DP.sh
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,10 @@ | ||
model_item=gpt_for_sequence_classification | ||
bs_item=8 | ||
fp_item=fp16 | ||
run_process_type=SingleP | ||
run_mode=DP | ||
device_num=N1C8 | ||
|
||
sed -i '/set\ -xe/d' run_benchmark.sh | ||
bash PrepareEnv.sh; | ||
CUDA_VISIBLE_DEVICES=0 bash run_benchmark.sh ${model_item} ${bs_item} ${fp_item} ${run_process_type} ${run_mode} ${device_num} 2>&1; |
10 changes: 10 additions & 0 deletions
10
...ripts/gpt_for_sequence_classification/N1C8/gpt_for_sequence_classification_bs8_fp32_DP.sh
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,10 @@ | ||
model_item=gpt_for_sequence_classification | ||
bs_item=8 | ||
fp_item=fp32 | ||
run_process_type=SingleP | ||
run_mode=DP | ||
device_num=N1C8 | ||
|
||
sed -i '/set\ -xe/d' run_benchmark.sh | ||
bash PrepareEnv.sh; | ||
CUDA_VISIBLE_DEVICES=0 bash run_benchmark.sh ${model_item} ${bs_item} ${fp_item} ${run_process_type} ${run_mode} ${device_num} 2>&1; |
30 changes: 30 additions & 0 deletions
30
.../dynamic/PaddleNLP/scripts/gpt_for_sequence_classification/benchmark_common/PrepareEnv.sh
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,30 @@ | ||
echo "******prepare benchmark start************" | ||
|
||
echo "https_proxy $HTTPS_PRO" | ||
echo "http_proxy $HTTP_PRO" | ||
export https_proxy=$HTTPS_PRO | ||
export http_proxy=$HTTP_PRO | ||
export no_proxy=localhost,bj.bcebos.com,su.bcebos.com | ||
|
||
# wget ${FLAG_TORCH_WHL_URL} | ||
|
||
# tar -xf torch_dev_whls.tar | ||
|
||
# pip install torch_dev_whls/* | ||
|
||
# pip install transformers pandas psutil scipy | ||
|
||
git checkout . | ||
|
||
# rm current torch | ||
rm -rf torch_tmp/ | ||
mv torch torch_tmp | ||
|
||
sed -i '1842,1844d' benchmarks/dynamo/common.py | ||
sed -i '929,933d' benchmarks/dynamo/common.py | ||
sed -i '929i \ \ \ \ \ \ \ \ \ \ \ \ os.environ[\"MASTER_ADDR\"] = os.getenv(\"MASTER_ADDR\", \"localhost\")\n os.environ[\"MASTER_PORT\"] = os.getenv(\"MASTER_PORT\", \"12355\")\n os.environ[\"RANK\"] = os.getenv(\"RANK\", \"0\")\n os.environ[\"WORLD_SIZE\"] = os.getenv(\"WORLD_SIZE\", \"1\")\n torch.cuda.set_device(int(os.environ[\"RANK\"]))\n torch.distributed.init_process_group(\n \"nccl\"\n )' benchmarks/dynamo/common.py | ||
|
||
rm -f ./speedup_eager* | ||
rm -f ./speedup_inductor* | ||
|
||
echo "******prepare benchmark end************" |
71 changes: 71 additions & 0 deletions
71
...ynamic/PaddleNLP/scripts/gpt_for_sequence_classification/benchmark_common/analysis_log.py
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,71 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
# encoding=utf-8 vi:ts=4:sw=4:expandtab:ft=python | ||
|
||
import json | ||
import os | ||
import argparse | ||
|
||
|
||
def analyze(args, run_info): | ||
log_file = args.filename | ||
res_log_file = args.res_log_file | ||
|
||
index_c = args.device_num.index('C') | ||
print("---index_c:-", index_c) | ||
gpu_num = int(args.device_num[index_c + 1:len(args.device_num)]) | ||
|
||
# caculate and update ips | ||
all_speed_logs =[] | ||
with open(log_file, 'r', encoding="utf8") as f: | ||
for line in f.readlines()[-gpu_num:]: | ||
ms_per_batch = float(line.strip().split(",")[4]) | ||
tokens_per_second = 1000.0 / ms_per_batch * run_info["batch_size"] * args.sequence_length | ||
all_speed_logs.append(tokens_per_second) | ||
|
||
ips = sum(all_speed_logs) / len(all_speed_logs) | ||
run_info["ips"] = round(ips, 3) | ||
|
||
# write file | ||
run_info = json.dumps(run_info) | ||
print(run_info) | ||
with open(res_log_file, "w") as of: | ||
of.write(run_info) | ||
|
||
if __name__ == "__main__": | ||
parser = argparse.ArgumentParser(description=__doc__) | ||
parser.add_argument( | ||
"--filename", type=str, help="The name of log which need to analysis.") | ||
parser.add_argument( | ||
"--sequence_length", type=int, help="The sequence length for any batch.") | ||
parser.add_argument( | ||
'--res_log_file', type=str, help='speed log file') | ||
parser.add_argument( | ||
'--model_name', type=str, default=0, help='training model_name, transformer_base') | ||
parser.add_argument( | ||
'--device_num', type=str, default="N1C1", help='N1C1|N1C8|N4C32') | ||
parser.add_argument( | ||
'--run_process_type', type=str, default="SingleP", help='multi process or single process') | ||
|
||
args = parser.parse_args() | ||
base_batch_size, fp_item, run_mode = args.model_name.split("_")[-3:] | ||
base_batch_size = int(base_batch_size.replace("bs","")) | ||
|
||
run_info = { | ||
"model_branch": os.getenv('model_branch'), | ||
"model_commit": os.getenv('model_commit'), | ||
"model_name": args.model_name, | ||
"batch_size": base_batch_size, | ||
"fp_item": fp_item, | ||
"run_process_type": args.run_process_type, | ||
"run_mode": run_mode, | ||
"convergence_value": 0, | ||
"convergence_key": "", | ||
"ips": 0, # we need update ips | ||
"speed_unit": "tokens/s", | ||
"device_num": args.device_num, | ||
"model_run_time": os.getenv('model_run_time'), | ||
"frame_commit": "", | ||
"frame_version": os.getenv('frame_version'), | ||
} | ||
analyze(args, run_info) |
104 changes: 104 additions & 0 deletions
104
...namic/PaddleNLP/scripts/gpt_for_sequence_classification/benchmark_common/run_benchmark.sh
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,104 @@ | ||
#!/usr/bin/env bash | ||
# Test training benchmark for a model. | ||
# Usage: CUDA_VISIBLE_DEVICES=xxx bash run_benchmark.sh ${model_name} ${run_mode} ${fp_item} ${bs_item} ${max_iter} ${num_workers} | ||
function _set_params(){ | ||
model_item=${1:-"gpt_for_sequence_classification"} # (必选) 模型 item |fastscnn|segformer_b0| ocrnet_hrnetw48 | ||
base_batch_size=${2:-"8"} # (必选) 每张卡上的batch_size | ||
fp_item=${3:-"fp32"} # (必选) fp32|fp16 | ||
run_process_type=${4:-"MultiP"} # (必选) 单进程 SingleP|多进程 MultiP | ||
run_mode=${5:-"DP"} # (必选) MP模型并行|DP数据并行|PP流水线并行|混合并行DP1-MP1-PP1|DP1-MP4-PP1 | ||
device_num=${6:-"N1C1"} # (必选) 使用的卡数量,N1C1|N1C8|N4C8 (4机32卡) | ||
profiling=${PROFILING:-"false"} # (必选) Profiling 开关,默认关闭,通过全局变量传递 | ||
model_repo="pytorch" # (必选) 模型套件的名字 | ||
speed_unit="tokens/s" # (必选)速度指标单位 | ||
skip_steps=10 # (必选)解析日志,跳过模型前几个性能不稳定的step | ||
keyword="|tokens/s" # (必选)解析日志,筛选出性能数据所在行的关键字 | ||
convergence_key="" # (可选)解析日志,筛选出收敛数据所在行的关键字 如:convergence_key="loss:" | ||
max_iter=${7:-"100"} # (可选)需保证模型执行时间在5分钟内,需要修改代码提前中断的直接提PR 合入套件 或是max_epoch | ||
num_workers=${8:-"3"} # (可选) | ||
|
||
# Added for distributed training | ||
node_num=${9:-"2"} #(可选) 节点数量 | ||
node_rank=${10:-"0"} # (可选) 节点rank | ||
master_addr=${11:-"127.0.0.1"} # (可选) 主节点ip地址 | ||
master_port=${12:-"1928"} # (可选) 主节点端口号 | ||
# Added for distributed training | ||
|
||
# 以下为通用拼接log路径,无特殊可不用修改 | ||
model_name=${model_item}_bs${base_batch_size}_${fp_item}_${run_mode} # (必填) 切格式不要改动,与平台页面展示对齐 | ||
device=${CUDA_VISIBLE_DEVICES//,/ } | ||
arr=(${device}) | ||
num_gpu_devices=${#arr[*]} | ||
run_log_path=${TRAIN_LOG_DIR:-$(pwd)} # (必填) TRAIN_LOG_DIR benchmark框架设置该参数为全局变量 | ||
profiling_log_path=${PROFILING_LOG_DIR:-$(pwd)} # (必填) PROFILING_LOG_DIR benchmark框架设置该参数为全局变量 | ||
speed_log_path=${LOG_PATH_INDEX_DIR:-$(pwd)} | ||
# mmsegmentation_fastscnn_bs2_fp32_MultiP_DP_N1C1_log | ||
train_log_file=${run_log_path}/${model_repo}_${model_name}_${device_num}_log | ||
profiling_log_file=${profiling_log_path}/${model_repo}_${model_name}_${device_num}_profiling | ||
speed_log_file=${speed_log_path}/${model_repo}_${model_name}_${device_num}_speed | ||
if [ ${profiling} = "true" ];then | ||
add_options="profiler_options=/"batch_range=[50, 60]; profile_path=model.profile/"" | ||
log_file=${profiling_log_file} | ||
else | ||
add_options="" | ||
log_file=${train_log_file} | ||
fi | ||
use_com_args="eager" | ||
if [ ${FLAG_TORCH_COMPILE} = "True" ];then | ||
use_com_args="inductor" | ||
fi | ||
} | ||
function _analysis_log(){ | ||
python analysis_log.py --filename "./speedup_${use_com_args}.csv" --sequence_length 1024 --model_name ${model_name} --run_process_type ${run_process_type} --device_num=${device_num} --res_log_file=${speed_log_file} | ||
} | ||
function _train(){ | ||
batch_size=${base_batch_size} # 如果模型跑多卡但进程时,请在_train函数中计算出多卡需要的bs | ||
echo "current ${model_name} CUDA_VISIBLE_DEVICES=$CUDA_VISIBLE_DEVICES, gpus=${device_num}, batch_size=${batch_size}" | ||
train_config=" --float32 " | ||
if [ ${fp_item} = "fp16" ];then | ||
train_config=" --amp " | ||
fi | ||
train_options=" --batch_size ${batch_size} \ | ||
--training \ | ||
--backend=${use_com_args} \ | ||
--performance \ | ||
--only=GPT2ForSequenceClassification \ | ||
--output-directory ./ " | ||
|
||
train_script="benchmarks/dynamo/huggingface.py" | ||
case ${run_process_type} in | ||
SingleP) train_cmd="python -u ${train_script} ${train_config} ${train_options}" ;; | ||
MultiP) | ||
if [ ${device_num:3} = '32' ];then | ||
train_cmd="torchrun --nproc_per_node=${num_workers} --nnodes=${node_num} --node_rank=${node_rank} --master_addr=${master_addr} --master_port=${master_port} ${train_script} ${train_config} ${train_options}" | ||
else | ||
train_cmd="torchrun --nproc_per_node=${num_workers} ${train_script} ${train_config} ${train_options}" | ||
fi;; | ||
*) echo "choose run_mode(SingleP or MultiP)"; exit 1; | ||
esac | ||
# 以下为通用执行命令,无特殊可不用修改 | ||
echo ${train_cmd} | ||
timeout 15m ${train_cmd} > ${log_file} 2>&1 | ||
if [ $? -ne 0 ];then | ||
echo -e "${model_name}, FAIL" | ||
else | ||
echo -e "${model_name}, SUCCESS" | ||
fi | ||
if [ ${run_process_type} = "MultiP" -a -d mylog ]; then | ||
rm ${log_file} | ||
cp mylog/workerlog.0 ${log_file} | ||
fi | ||
echo ${train_cmd} >> ${log_file} | ||
cat ${log_file} | ||
#kill -9 `ps -ef|grep 'python'|awk '{print $2}'` | ||
} | ||
_set_params $@ | ||
export frame_version=`python -c "import torch;print(torch.__version__)"` | ||
echo "---------frame_version is torch ${frame_version}" | ||
echo "---------model_branch is ${model_branch}" | ||
echo "---------model_commit is ${model_commit}" | ||
job_bt=`date '+%Y%m%d%H%M%S'` | ||
_train | ||
job_et=`date '+%Y%m%d%H%M%S'` | ||
export model_run_time=$((${job_et}-${job_bt})) | ||
_analysis_log |
10 changes: 10 additions & 0 deletions
10
...P/scripts/t5_for_conditional_generation/N1C1/t5_for_conditional_generation_bs4_fp16_DP.sh
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,10 @@ | ||
model_item=t5_for_conditional_generation | ||
bs_item=4 | ||
fp_item=fp16 | ||
run_process_type=SingleP | ||
run_mode=DP | ||
device_num=N1C1 | ||
|
||
sed -i '/set\ -xe/d' run_benchmark.sh | ||
bash PrepareEnv.sh; | ||
CUDA_VISIBLE_DEVICES=0 bash run_benchmark.sh ${model_item} ${bs_item} ${fp_item} ${run_process_type} ${run_mode} ${device_num} 2>&1; |
10 changes: 10 additions & 0 deletions
10
...P/scripts/t5_for_conditional_generation/N1C1/t5_for_conditional_generation_bs4_fp32_DP.sh
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,10 @@ | ||
model_item=t5_for_conditional_generation | ||
bs_item=4 | ||
fp_item=fp32 | ||
run_process_type=SingleP | ||
run_mode=DP | ||
device_num=N1C1 | ||
|
||
sed -i '/set\ -xe/d' run_benchmark.sh | ||
bash PrepareEnv.sh; | ||
CUDA_VISIBLE_DEVICES=0 bash run_benchmark.sh ${model_item} ${bs_item} ${fp_item} ${run_process_type} ${run_mode} ${device_num} 2>&1; |
10 changes: 10 additions & 0 deletions
10
...P/scripts/t5_for_conditional_generation/N1C8/t5_for_conditional_generation_bs4_fp16_DP.sh
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,10 @@ | ||
model_item=t5_for_conditional_generation | ||
bs_item=4 | ||
fp_item=fp16 | ||
run_process_type=SingleP | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. N1C8 该字段为MultiP |
||
run_mode=DP | ||
device_num=N1C8 | ||
|
||
sed -i '/set\ -xe/d' run_benchmark.sh | ||
bash PrepareEnv.sh; | ||
CUDA_VISIBLE_DEVICES=0 bash run_benchmark.sh ${model_item} ${bs_item} ${fp_item} ${run_process_type} ${run_mode} ${device_num} 2>&1; |
10 changes: 10 additions & 0 deletions
10
...P/scripts/t5_for_conditional_generation/N1C8/t5_for_conditional_generation_bs4_fp32_DP.sh
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,10 @@ | ||
model_item=t5_for_conditional_generation | ||
bs_item=4 | ||
fp_item=fp32 | ||
run_process_type=SingleP | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. N1C8 该字段为MultiP |
||
run_mode=DP | ||
device_num=N1C8 | ||
|
||
sed -i '/set\ -xe/d' run_benchmark.sh | ||
bash PrepareEnv.sh; | ||
CUDA_VISIBLE_DEVICES=0 bash run_benchmark.sh ${model_item} ${bs_item} ${fp_item} ${run_process_type} ${run_mode} ${device_num} 2>&1; |
30 changes: 30 additions & 0 deletions
30
...ch/dynamic/PaddleNLP/scripts/t5_for_conditional_generation/benchmark_common/PrepareEnv.sh
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,30 @@ | ||
echo "******prepare benchmark start************" | ||
|
||
echo "https_proxy $HTTPS_PRO" | ||
echo "http_proxy $HTTP_PRO" | ||
export https_proxy=$HTTPS_PRO | ||
export http_proxy=$HTTP_PRO | ||
export no_proxy=localhost,bj.bcebos.com,su.bcebos.com | ||
|
||
wget ${FLAG_TORCH_WHL_URL} | ||
|
||
tar -xf torch_dev_whls.tar | ||
|
||
pip install torch_dev_whls/* | ||
|
||
pip install transformers pandas psutil scipy | ||
|
||
git checkout . | ||
|
||
# rm current torch | ||
rm -rf torch_tmp/ | ||
mv torch torch_tmp | ||
|
||
sed -i '1842,1844d' benchmarks/dynamo/common.py | ||
sed -i '929,933d' benchmarks/dynamo/common.py | ||
sed -i '929i \ \ \ \ \ \ \ \ \ \ \ \ os.environ[\"MASTER_ADDR\"] = os.getenv(\"MASTER_ADDR\", \"localhost\")\n os.environ[\"MASTER_PORT\"] = os.getenv(\"MASTER_PORT\", \"12355\")\n os.environ[\"RANK\"] = os.getenv(\"RANK\", \"0\")\n os.environ[\"WORLD_SIZE\"] = os.getenv(\"WORLD_SIZE\", \"1\")\n torch.cuda.set_device(int(os.environ[\"RANK\"]))\n torch.distributed.init_process_group(\n \"nccl\"\n )' benchmarks/dynamo/common.py | ||
|
||
rm -f ./speedup_eager* | ||
rm -f ./speedup_inductor* | ||
|
||
echo "******prepare benchmark end************" |
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.
请更新为镜像 iregistry.baidu-int.com/paddlecloud/base-images:paddlecloud-ubuntu18.04-gcc8.2-cuda11.7-cudnn8.4.1-nccl2.12.12