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

Is not compatible with DoRA? #245

Open
gotzmann opened this issue Sep 11, 2024 · 1 comment
Open

Is not compatible with DoRA? #245

gotzmann opened this issue Sep 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@gotzmann
Copy link

🐛 Describe the bug

I've tried to use DoRA with LLaMA-Factory, but got this error

self and mat2 must have the same dtype, but got BFloat16 and Float

Haven't any problems with plain LoRA :(

Reproduce

No response

Versions

Environment Report:

Operating System: Linux-5.15.0-100-generic-x86_64-with-glibc2.35
Python version: 3.10.12
PyTorch version: 2.3.1+cu121
CUDA version: 12.1
Triton version: 2.3.1
Transformers version: 4.44.2

@ByronHsu ByronHsu added the bug Something isn't working label Sep 11, 2024
@ryankert01
Copy link
Contributor

ryankert01 commented Sep 13, 2024

@gotzmann You can use compute_type = fp32 for now(in llama factory).
There's similar problem with full fine-tuning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants