Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7B就行lora微调过程报错 #65

Open
lichengyang666 opened this issue Aug 21, 2024 · 0 comments
Open

7B就行lora微调过程报错 #65

lichengyang666 opened this issue Aug 21, 2024 · 0 comments

Comments

@lichengyang666
Copy link

训练7B的过程中,将原始的lora参数调整之后,训练到一半时报错
Exception: Current loss scale already at minimum - cannot decrease scale anymore. Exiting run. ,应该如何解决?

尝试将fp16修改为bf16就行尝试,然后又报错
File "/home/jupyter/.cache/huggingface/modules/transformers_modules/TeleChat-7B/modeling_telechat.py", line 185, in forward
assert all((i.dtype in [torch.float16, torch.bfloat16] for i in (q, k, v)))

期待您的回复~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant