Medusa icon indicating copy to clipboard operation
Medusa copied to clipboard

Encounter an CUDA error when set Medusa head

Open 1649759610 opened this issue 1 year ago • 0 comments

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

1649759610 avatar Feb 20 '24 07:02 1649759610