Support upstream GPTQ once again. (#1451)
This commit is contained in:
parent
eddd016449
commit
e1aa9d5173
1 changed files with 5 additions and 1 deletions
|
@ -12,7 +12,11 @@ import modules.shared as shared
|
|||
|
||||
sys.path.insert(0, str(Path("repositories/GPTQ-for-LLaMa")))
|
||||
import llama_inference_offload
|
||||
|
||||
try:
|
||||
from modelutils import find_layers
|
||||
except ImportError:
|
||||
from utils import find_layers
|
||||
|
||||
try:
|
||||
from quant import make_quant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue