fix recursion error when setting tp_wrapped_module #122#123
fix recursion error when setting tp_wrapped_module #122#123Ar-Kareem wants to merge 1 commit intoBlackSamorez:mainfrom
Conversation
|
Fix the style, please. |
|
Fixed styling, although I'm not sure why the tests are failing. |
|
The failing tests are not related to this issue. The Falcon-40B related tests fail to load the model off the web. I'll look into it. I'll also look into what you've done in more detail because it's always complicated with |
|
Sure, all I did is made sure to re-add |
To fix the error mentioned in #122
This happens whenever the attribute
tp_wrapped_moduleis changed (for example inside LoRA or other PEFT methods)I am not 100% sure this works as I have not started training yet but it has certainly made my example in #122 work as expected.