yyoean
yyoean
ignore_index我没有修改过,就是def __init__里面指定的-100, 用单卡训练可以跑起来,现在想用多卡训练就会报错,感觉跟dataloader有关,麻烦作者帮忙看看,这个问题困扰我好几天了,下面是全部的运行日志。 root@localhost:/home/LucaOne-master/src/training# source /usr/local/Ascend/ascend-toolkit/set_env.sh root@localhost:/home/LucaOne-master/src/training# sh run_multi_v2.0.sh [2024-09-04 01:38:13,938] torch.distributed.run: [WARNING] [2024-09-04 01:38:13,938] torch.distributed.run: [WARNING] ***************************************** [2024-09-04 01:38:13,938] torch.distributed.run: [WARNING] Setting OMP_NUM_THREADS environment variable for each process to...
作者大人,请问这个模型在GPU上多卡是能跑通的嘛? 我用的是npu,单卡能跑通,多卡不行。
> > 作者大人,我看到您不久前更新了配置文件的注释,但是我有些无法理解  比如图中51是对52行的注释,我理解的意思是loss_logging_steps是gradient_accumulation_steps与loss_logging_steps的最小公倍数? 但是loss_logging_steps是自己的公倍数有什么意义? 而且注释中的“这里是4000”与下面的1000不匹配。 > > 因为我在拉起训练的时候,发现用您给的默认的参数,训练卡在第一组batch很久  经过很长时间报下面的错 Training, Epoch: 0001, Batch: 000032, Sample Num: 32, Cur Loss: 15.14121819, Avg Loss: 20.39010298EI9999: Inner Error! EI9999: 2024-09-19-03:24:21.884.546...
现在的报错是NPU out of memory. Training, Epoch: 0001, Batch: 000006, Sample Num: 6, Cur Loss: 20.49292374, Avg Loss: 22.16985448:914: ImportWarning: TEMetaPathFinder.find_spec() not found; falling back to find_module() :914: ImportWarning: TEMetaPathFinder.find_spec() not...
> > 现在的报错是NPU out of memory. Training, Epoch: 0001, Batch: 000006, Sample Num: 6, Cur Loss: 20.49292374, Avg Loss: 22.16985448:914: ImportWarning: TEMetaPathFinder.find_spec() not found; falling back to find_module() :914: ImportWarning:...
我明白了,感谢作者的指导~~~