OPD
OPD copied to clipboard
关于 SFT 流程的疑问。
您好,请问一下在进行 SFT 的过程中,具体使用了多少那张卡呢?我看仓库里面好像只说了 per_device_train_batch_size,请问 global_batch_size 是多少呢?
https://github.com/thunlp/OPD/blob/1fd6cca846126af90d82ef122e8af261f59d2d37/LlamaFactory/examples/train_full/qwen3_base_full_sft.yaml#L35
您好,感谢关注!我们 SFT 阶段使用的是 8 张 NVIDIA A800 80GB GPU。对应配置中 per_device_train_batch_size=8,gradient_accumulation_steps=1,所以有效的 global_batch_size = 8 * 8 * 1 = 64