You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: It seems that the parameters of 'requires_grade=False' have also allocated grad memory #3777
When I run "Lora+8bit", parameters of type int8 that do not participate in training will automatically generate all 0 grads, so the following error will be reported:
attempting to reduce an unsupported grad type: torch.cuda.Bytetensor
I add a line code as following, it can runs normally.
May I ask if adding grads automatically is a bug or a necessary logic?
changed the title [-][BUG]: It seems that the parameters of 'requires_grade=False' have also allocated Grade space[/-][+][BUG]: It seems that the parameters of 'requires_grade=False' have also allocated grad memory[/+]on Jun 21, 2023
Activity
[-][BUG]: It seems that the parameters of 'requires_grade=False' have also allocated Grade space[/-][+][BUG]: It seems that the parameters of 'requires_grade=False' have also allocated grad memory[/+]