更新时间:2025-01-18 GMT+08:00
分享

在运行finetune_ds.sh 时遇到报错

在运行finetune_ds.sh 时遇到报错

pydantic_core._pydantic_core.ValidationError: 1 validation error for DeepSpeedZeroConfig
stage3_prefetch_bucket_size
Input should be a valid integer, got a number with a fractional part [type=int_from_float, input_value=15099494.4, input_type=float]

将deepspeed配置文件的 stage3_prefetch_bucket_size 参数值从 auto 改成 整数15099494

相关文档