报错如下
Note that --use_env is set by default in torchrun.
If your script expects --local_rank argument to be set, please
change it to read from os.environ['LOCAL_RANK'] instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
warnings.warn(
Traceback (most recent call last):
File "/home/xxx/projects/mPLUG-Owl/./pipeline/train.py", line 15, in
from mplug_owl import MplugOwlForConditionalGeneration, MplugOwlTokenizer
ModuleNotFoundError: No module named 'mplug_owl'
报错复现:
无其它改动
报错如下 Note that --use_env is set by default in torchrun. If your script expects
--local_rank
argument to be set, please change it to read fromos.environ['LOCAL_RANK']
instead. See https://pytorch.org/docs/stable/distributed.html#launch-utility for further instructionswarnings.warn( Traceback (most recent call last): File "/home/xxx/projects/mPLUG-Owl/./pipeline/train.py", line 15, in
from mplug_owl import MplugOwlForConditionalGeneration, MplugOwlTokenizer
ModuleNotFoundError: No module named 'mplug_owl'