Update llama.py
This commit is contained in:
parent
fe8c06496f
commit
d8d332ac83
1 changed files with 2 additions and 3 deletions
|
|
@ -59,10 +59,9 @@ from peft.tuners.lora import Linear4bit as Peft_Linear4bit
|
|||
from ..save import patch_saving_functions
|
||||
import re, os, inspect, math, sys
|
||||
|
||||
from inspect import currentframe, getframeinfo
|
||||
import sys
|
||||
def DEBUG():
|
||||
frameinfo = getframeinfo(currentframe())
|
||||
print(frameinfo.filename, frameinfo.lineno)
|
||||
print(sys._getframe().f_back.f_lineno)
|
||||
pass
|
||||
|
||||
def original_apply_qkv(self, X):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue