Closed 1099255210 closed 3 months ago
total_batch_size=per_device_train_batch_size * acc * per_node_gpus * node_num
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your consideration.
Closing the issue, since no updates observed. Feel free to re-open if you need any further assistance.
提交前必须检查以下项目
问题类型
模型训练与精调
基础模型
Chinese-LLaMA-2 (7B/13B)
操作系统
Linux
详细描述问题
请问如何调整训练时候的 Batch Size? 是调整 --per_device_train_batch_size ${per_device_train_batch_size} 还是调整 scripts/training/ds_zero2_no_offload.json 中的 "train_batch_size" ?
依赖情况(代码类问题务必提供)
运行日志或截图