mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-05 01:10:22 +08:00
11 lines
230 B
Python
11 lines
230 B
Python
try:
|
|
import torch
|
|
|
|
if torch.xpu.is_available():
|
|
from .init import ipex_init
|
|
|
|
ipex_init()
|
|
from .gradscaler import gradscaler_init
|
|
except Exception: # pylint: disable=broad-exception-caught
|
|
pass
|