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

Encounter an CUDA error when set Medusa head #81

Open
1649759610 opened this issue Feb 20, 2024 · 0 comments
Open

Encounter an CUDA error when set Medusa head #81

1649759610 opened this issue Feb 20, 2024 · 0 comments

Comments

@1649759610
Copy link

1649759610 commented Feb 20, 2024

hi, @ctlllll

I try to use medusa on llama model,and do some medusa head experiments.

when base_model_config. medusa_num_heads in from_pretrained(medusa_model.py) is set to be 2 or 3, an error will be raised as follow;but if set to be 5, it seems to work well, Could you tell its reason for this?

image

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