-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
In this snippet:
if cfg_scale > 0.:
un_x = x.clone()
un_x[:, :prompt.shape[1]] = dim
Should we rely on prompt.shape[1] to determine the prompt length, given that prompts can be of variable length? Or would it be better to use a different way to compute the prompt length?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels