Traceback (most recent call last):
File "/gemini/code/finetune_clm_lora.py", line 690, in
main()
File "/gemini/code/finetune_clm_lora.py", line 651, in main
train_result = trainer.train(resume_from_checkpoint=checkpoint)
File "/usr/local/lib/python3.9/dist-packages/transformers/trainer.py", line 1555, in train
return inner_training_loop(
File "/usr/local/lib/python3.9/dist-packages/transformers/trainer.py", line 1910, in _inner_training_loop
self.optimizer.step()
AttributeError: 'DummyOptim' object has no attribute 'step'
Traceback (most recent call last): File "/gemini/code/finetune_clm_lora.py", line 690, in
main()
File "/gemini/code/finetune_clm_lora.py", line 651, in main
train_result = trainer.train(resume_from_checkpoint=checkpoint)
File "/usr/local/lib/python3.9/dist-packages/transformers/trainer.py", line 1555, in train
return inner_training_loop(
File "/usr/local/lib/python3.9/dist-packages/transformers/trainer.py", line 1910, in _inner_training_loop
self.optimizer.step()
AttributeError: 'DummyOptim' object has no attribute 'step'