OPD icon indicating copy to clipboard operation
OPD copied to clipboard

关于 SFT 流程的疑问。

Open caixd-220529 opened this issue 5 months ago • 1 comments

您好,请问一下在进行 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

caixd-220529 avatar Jun 08 '26 03:06 caixd-220529

您好,感谢关注!我们 SFT 阶段使用的是 8 张 NVIDIA A800 80GB GPU。对应配置中 per_device_train_batch_size=8,gradient_accumulation_steps=1,所以有效的 global_batch_size = 8 * 8 * 1 = 64

Turingzero0 avatar Jun 08 '26 21:06 Turingzero0