Update _utils.py
This commit is contained in:
parent
7b144ebdaa
commit
b99b2c5211
1 changed files with 1 additions and 0 deletions
|
|
@ -801,6 +801,7 @@ def patch_linear_scaling(
|
|||
f"{model_name.title()}Attention, {model_name.title()}Config"
|
||||
|
||||
print(exec_code)
|
||||
print(inspect.getsource(attention_module.__init__))
|
||||
try:
|
||||
function = inspect.getsource(attention_module.__init__)
|
||||
except:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue