microsoft/LoRA

AttributeError: 'lora.Conv2d' object has no attribute 'weight'

bjzhb666 opened this issue · 3 comments

Thanks for your great work!

When I use loralib-0.1.2, I get this error.
In nn.Conv2d, it has the attribute 'weight'.
I think it is better to add weight attribute to our lora.Conv2d.

It is interesting that in version loralib-0.1.1, lora.Conv2d has this attribute, but in the latest version, my code gives me this bug.

Tasks

No tasks being tracked yet.

It's because of this PR: #63

Good catch. It's now self.conv.weight.

Thanks for your replies!