Efficient-Computing icon indicating copy to clipboard operation
Efficient-Computing copied to clipboard

AttributeError: 'Trainer' object has no attribute 'loss_items'

Open kpyon-w opened this issue 1 year ago • 2 comments

image

How to solve this problem? has no attribute "loss_items"

kpyon-w avatar Oct 13 '23 01:10 kpyon-w

If you don't use ddp model in training (like don't use torch.distributed.launch), you can refer this issuse https://github.com/huawei-noah/Efficient-Computing/issues/68

lose4578 avatar Oct 16 '23 07:10 lose4578

I need ddp and I'm seeing this issue as well. Would appreciate any suggestions. Thanks!

thanhmvu avatar Nov 24 '23 22:11 thanhmvu