mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 01:30:20 +01:00
Avoid a name conflict
This commit is contained in:
parent
fb91c07191
commit
21ecc3701e
@ -257,17 +257,17 @@ def GPTQ_loader(model_name):
|
|||||||
|
|
||||||
# No monkey patch
|
# No monkey patch
|
||||||
else:
|
else:
|
||||||
from modules.GPTQ_loader import load_quantized
|
import modules.GPTQ_loader
|
||||||
|
|
||||||
model = load_quantized(model_name)
|
model = modules.GPTQ_loader.load_quantized(model_name)
|
||||||
|
|
||||||
return model
|
return model
|
||||||
|
|
||||||
|
|
||||||
def AutoGPTQ_loader(model_name):
|
def AutoGPTQ_loader(model_name):
|
||||||
from modules.AutoGPTQ_loader import load_quantized
|
import modules.AutoGPTQ_loader
|
||||||
|
|
||||||
return load_quantized(model_name)
|
return modules.AutoGPTQ_loader.load_quantized(model_name)
|
||||||
|
|
||||||
|
|
||||||
def get_max_memory_dict():
|
def get_max_memory_dict():
|
||||||
|
Loading…
Reference in New Issue
Block a user