mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
Update server/text_generation_server/utils/import_utils.py
This commit is contained in:
parent
91f55ea2b5
commit
c67539fbcc
@ -41,7 +41,7 @@ elif is_xpu_available():
|
|||||||
synchronize = torch.xpu.synchronize
|
synchronize = torch.xpu.synchronize
|
||||||
get_free_memory = get_xpu_free_memory
|
get_free_memory = get_xpu_free_memory
|
||||||
else:
|
else:
|
||||||
SYSTEM = "ipex"
|
SYSTEM = "cpu"
|
||||||
|
|
||||||
def noop(*args, **kwargs):
|
def noop(*args, **kwargs):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user