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
Traceback (most recent call last):
File "main.py", line 520, in <module>
main()
File "main.py", line 428, in main
out = trainer.generate_experience(batch_prompt['prompt'],
File "/root/ljh/lab/DeepSpeedExamples/applications/DeepSpeed-Chat/training/step3_rlhf_finetuning/ppo_trainer.py", line 98, in generate_experience
seq = self._generate_sequence(prompts, mask)
File "/root/ljh/lab/DeepSpeedExamples/applications/DeepSpeed-Chat/training/step3_rlhf_finetuning/ppo_trainer.py", line 73, in _generate_sequence
seq = self.actor_model.module.generate(prompts,
File "/usr/local/lib/python3.8/dist-packages/deepspeed/runtime/hybrid_engine.py", line 207, in generate
self._fuse_lora(self.layer_params[layer_id], self.lora_params[layer_id])
File "/usr/local/lib/python3.8/dist-packages/deepspeed/runtime/hybrid_engine.py", line 137, in _fuse_lora
weight.data += lora_scaling * torch.matmul(lora_left_weight.t(), lora_right_weight.t())
RuntimeError: The size of tensor a (5120) must match the size of tensor b (20480) at non-singleton dimension 0
I have observed that there are people who have the same problem :#337
The text was updated successfully, but these errors were encountered:
I have observed that there are people who have the same problem :#337
The text was updated successfully, but these errors were encountered: