MOSS icon indicating copy to clipboard operation
MOSS copied to clipboard

AttributeError: 'NoneType' object has no attribute 'deepspeed_config'

Open HDRBgg opened this issue 2 years ago • 7 comments

Traceback (most recent call last): File "finetune_moss.py", line 303, in train(args) File "finetune_moss.py", line 175, in train accelerator.state.deepspeed_plugin.deepspeed_config['train_micro_batch_size_per_gpu'] = args.train_bsz_per_gpu AttributeError: 'NoneType' object has no attribute 'deepspeed_config'

HDRBgg avatar Apr 23 '23 08:04 HDRBgg

Hi,I have the same mistake,have you solve it?

flomok avatar Apr 27 '23 01:04 flomok

分布式训练的问题,还没解决

HDRBgg avatar Apr 27 '23 01:04 HDRBgg

你好,请问解决了吗?我也遇到同样的问题。

lby129 avatar May 05 '23 06:05 lby129

不好意思,我也没有解决呢

------------------ 原始邮件 ------------------ 发件人: "OpenLMLab/MOSS" @.>; 发送时间: 2023年5月5日(星期五) 下午2:50 @.>; @.@.>; 主题: Re: [OpenLMLab/MOSS] AttributeError: 'NoneType' object has no attribute 'deepspeed_config' (Issue #80)

你好,请问解决了吗?我也遇到同样的问题。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

flomok avatar May 05 '23 06:05 flomok

同样的问题,请问解决了吗 运行报错: python finetune_moss.py --model_name_or_path /web/pretrained_model/moss-moon-003-sft --data_dir ./SFT_data --output_dir ./ckpts/moss-moon-003-sft --log_dir ./train_logs/moss-moon-003-sft --n_epochs 2 --train_bsz_per_gpu 4 --eval_bsz_per_gpu 4 --learning_rate 0.000015 --eval_step 200 --save_step 2000

hjing100 avatar May 05 '23 12:05 hjing100

我也遇到了同样的问题,除了存储路径之外没动别的参数。会不会是某些包的版本的问题?

KickyGong avatar May 06 '23 02:05 KickyGong

我也遇到同样的问题,各位解决了吗?

Taurus9527 avatar Oct 24 '23 02:10 Taurus9527