权重改为fp32, 其他部分保持bf16
目前参数--encoder_mode有三种选择: 1. fp32: 全部使用fp32, 适合显存充足的情况 2. autocast: 使用torch.cuda.amp.autocast自动混合精度, 稍微快一些, psnr下降较多 3. bf16_full: 全部使用bf16, 精度较高
This commit is contained in:
Binary file not shown.
@@ -23,5 +23,5 @@ dataset="unitree_g1_pack_camera"
|
||||
--perframe_ae \
|
||||
--diffusion_dtype bf16 \
|
||||
--projector_dtype bf16 \
|
||||
--encoder_dtype bf16
|
||||
--encoder_mode autocast #fp32/autocast/bf16_full
|
||||
} 2>&1 | tee "${res_dir}/output.log"
|
||||
|
||||
Reference in New Issue
Block a user