用户问题中的“userwarning”应为“UserWarning”,是Python中用于发出警告的信号之一。此外,“the use_reentrant parameter should be p”这部分描述可能存在笔误,通常我们期望的是对use_reentrant参数的正确性或用法有疑问,而不是它“应该是p”。因此,我会假设您是在询问use_reentrant
The official example scripts My own modified scripts Tasks An officially supported task in theexamplesfolder (such as GLUE/SQuAD, ...) My own task or dataset (give details below) Reproduction according to new pytorch, you need to now explicitly set use_reentrant as it will be changed from ...