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
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
我已经搜索过FAQ | I have searched FAQ
当前行为 | Current Behavior
Traceback (most recent call last):
File "/root/autodl-tmp/Qwen/finetune.py", line 374, in
train()
File "/root/autodl-tmp/Qwen/finetune.py", line 363, in train
trainer = Trainer(
File "/root/miniconda3/envs/qwen/lib/python3.10/site-packages/transformers/trainer.py", line 340, in init
self.create_accelerator_and_postprocess()
File "/root/miniconda3/envs/qwen/lib/python3.10/site-packages/transformers/trainer.py", line 3883, in create_accelerator_and_postprocess
self.accelerator = Accelerator(
TypeError: Accelerator.init() got an unexpected keyword argument 'dispatch_batches'
运行环境 | Environment
- OS: linux
- Python: 3.10
- Transformers: 4.32.0
- PyTorch: 2.1.0
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):12.1
备注 | Anything else?
No response
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as inactive due to lack of recent activity. Should you believe it remains unresolved and warrants attention, kindly leave a comment on this thread.
此问题由于长期未有新进展而被系统自动标记为不活跃。如果您认为它仍有待解决,请在此帖下方留言以补充信息。
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
Traceback (most recent call last):
File "/root/autodl-tmp/Qwen/finetune.py", line 374, in
train()
File "/root/autodl-tmp/Qwen/finetune.py", line 363, in train
trainer = Trainer(
File "/root/miniconda3/envs/qwen/lib/python3.10/site-packages/transformers/trainer.py", line 340, in init
self.create_accelerator_and_postprocess()
File "/root/miniconda3/envs/qwen/lib/python3.10/site-packages/transformers/trainer.py", line 3883, in create_accelerator_and_postprocess
self.accelerator = Accelerator(
TypeError: Accelerator.init() got an unexpected keyword argument 'dispatch_batches'
运行环境 | Environment
备注 | Anything else?
No response
The text was updated successfully, but these errors were encountered: