mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 03:14:53 +00:00
lora cpu fix
Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
This commit is contained in:
parent
d31bdfdbae
commit
0df4d225b5
@ -16,12 +16,15 @@ else:
|
|||||||
punica_sgmv = None
|
punica_sgmv = None
|
||||||
|
|
||||||
if SYSTEM == "ipex":
|
if SYSTEM == "ipex":
|
||||||
|
try:
|
||||||
from intel_extension_for_pytorch.llm.functional import (
|
from intel_extension_for_pytorch.llm.functional import (
|
||||||
bgmv_expand,
|
bgmv_expand,
|
||||||
bgmv_shrink,
|
bgmv_shrink,
|
||||||
sgmv_expand,
|
sgmv_expand,
|
||||||
sgmv_shrink,
|
sgmv_shrink,
|
||||||
)
|
)
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
|
Loading…
Reference in New Issue
Block a user