Update server/text_generation_server/utils/import_utils.py

This commit is contained in:
Nicolas Patry 2024-05-31 12:51:35 +02:00 committed by GitHub
parent 91f55ea2b5
commit c67539fbcc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@ elif is_xpu_available():
synchronize = torch.xpu.synchronize
get_free_memory = get_xpu_free_memory
else:
SYSTEM = "ipex"
SYSTEM = "cpu"
def noop(*args, **kwargs):
pass