Skip to content

Commit

Permalink
QuantLinear is rocm compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Oct 23, 2024
1 parent 82a6cb8 commit 849d882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/text_generation_server/layers/gptq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

if SYSTEM == "ipex":
from .ipex import QuantLinear
elif SYSTEM == "cuda":
elif SYSTEM in {"cuda", "rocm"}:
from .cuda import QuantLinear


Expand Down

0 comments on commit 849d882

Please sign in to comment.