NeuralNotW0rk / LoRAW

Flexible LoRA Implementation to use with stable-audio-tools
MIT License
39 stars 3 forks source link

AttributeError: 'LoRALinear' object has no attribute 'out_dim'. #11

Closed aframires closed 1 month ago

aframires commented 2 months ago

When I'm trying to run the code I get the following issue: AttributeError: 'LoRALinear' object has no attribute 'out_dim' which points to https://github.com/NeuralNotW0rk/LoRAW/blame/1224b9d06cefe6c1b2dea8bd451e7519e0afacf9/loraw/modules.py#L35

In fact it seems like the LoRAModule class has no attribute out_dim.

NeuralNotW0rk commented 2 months ago

Hi there, out_dim is set in the LoRALinear constructor so maybe you are creating a LoRAModule directly. Do you have any more information on how you arrived at this error so I can try to replicate it?

NeuralNotW0rk commented 1 month ago

Fixed the issue in the latest commit