Files
wehub-resource-sync 2aaeece67c
Codestyle Check / Lint (push) Has been cancelled
Codestyle Check / Check bypass (push) Has been cancelled
Pipelines-Test / Pipelines-Test (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:37:14 +08:00
..

PaddleNLP 下静态图混合并行 benchmark 模型执行说明

静态图混合并行 benchmark 测试脚本说明

目录说明

Docker 运行环境

docker image: registry.baidu.com/paddlecloud/base-images:paddlecloud-ubuntu18.04-gcc8.2-cuda11.0-cudnn8

运行 benchmark 测试步骤

git clone https://github.com/PaddlePaddle/PaddleNLP.git
cd PaddleNLP/tests/

准备数据

bash test_tipc/static/hybrid_parallelism/gpt/benchmark_common/prepare.sh

运行模型

单卡

bash  test_tipc/static/hybrid_parallelism/gpt/N1C1/${shell_name}.sh

多卡

bash  test_tipc/static/hybrid_parallelism/gpt/N${node_num}C${gpu_num}/${shell_name}.sh