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