mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-25 22:08:53 +01:00
Support upstream GPTQ once again. (#1451)
This commit is contained in:
parent
eddd016449
commit
e1aa9d5173
@ -12,7 +12,11 @@ import modules.shared as shared
|
||||
|
||||
sys.path.insert(0, str(Path("repositories/GPTQ-for-LLaMa")))
|
||||
import llama_inference_offload
|
||||
from modelutils import find_layers
|
||||
|
||||
try:
|
||||
from modelutils import find_layers
|
||||
except ImportError:
|
||||
from utils import find_layers
|
||||
|
||||
try:
|
||||
from quant import make_quant
|
||||
|
Loading…
Reference in New Issue
Block a user