QuantLinear is rocm compatible.
This commit is contained in:
parent
82a6cb82e1
commit
849d8821ab
|
@ -10,7 +10,7 @@ from text_generation_server.utils.weights import Weight, Weights, WeightsLoader
|
|||
|
||||
if SYSTEM == "ipex":
|
||||
from .ipex import QuantLinear
|
||||
elif SYSTEM == "cuda":
|
||||
elif SYSTEM in {"cuda", "rocm"}:
|
||||
from .cuda import QuantLinear
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue