You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: scaled_dot_product_attention() got an unexpected keyword argument 'training' in <xtuner.engine.hooks.evaluate_chat_hook.EvaluateChatHook object at 0x7f1ce9adfe20>
#515
Open
QB-Chen opened this issue
Mar 25, 2024
· 1 comment
Traceback (most recent call last):
File "/root/xtuner/xtuner/tools/train.py", line 337, in
main()
File "/root/xtuner/xtuner/tools/train.py", line 333, in main
runner.train()
File "/root/.conda/envs/xtuner/lib/python3.10/site-packages/mmengine/runner/_flexible_runner.py", line 1200, in train
model = self.train_loop.run() # type: ignore
File "/root/.conda/envs/xtuner/lib/python3.10/site-packages/mmengine/runner/loops.py", line 270, in run
self.runner.call_hook('before_train')
File "/root/.conda/envs/xtuner/lib/python3.10/site-packages/mmengine/runner/_flexible_runner.py", line 1273, in call_hook
raise TypeError(f'{e} in {hook}') from e
TypeError: scaled_dot_product_attention() got an unexpected keyword argument 'training' in <xtuner.engine.hooks.evaluate_chat_hook.EvaluateChatHook object at 0x7f1ce9adfe20>
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/root/xtuner/xtuner/tools/train.py", line 337, in
main()
File "/root/xtuner/xtuner/tools/train.py", line 333, in main
runner.train()
File "/root/.conda/envs/xtuner/lib/python3.10/site-packages/mmengine/runner/_flexible_runner.py", line 1200, in train
model = self.train_loop.run() # type: ignore
File "/root/.conda/envs/xtuner/lib/python3.10/site-packages/mmengine/runner/loops.py", line 270, in run
self.runner.call_hook('before_train')
File "/root/.conda/envs/xtuner/lib/python3.10/site-packages/mmengine/runner/_flexible_runner.py", line 1273, in call_hook
raise TypeError(f'{e} in {hook}') from e
TypeError: scaled_dot_product_attention() got an unexpected keyword argument 'training' in <xtuner.engine.hooks.evaluate_chat_hook.EvaluateChatHook object at 0x7f1ce9adfe20>
The text was updated successfully, but these errors were encountered: