mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-29 22:12:07 +00:00
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":
|
if SYSTEM == "ipex":
|
||||||
from .ipex import QuantLinear
|
from .ipex import QuantLinear
|
||||||
elif SYSTEM == "cuda":
|
elif SYSTEM in {"cuda", "rocm"}:
|
||||||
from .cuda import QuantLinear
|
from .cuda import QuantLinear
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user