mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-15 21:26:51 +08:00
.
This commit is contained in:
parent
34373c5b07
commit
4d8e5dce38
@ -169,6 +169,8 @@ class T2SEngine(T2SEngineProtocol):
|
|||||||
torch.xpu.empty_cache()
|
torch.xpu.empty_cache()
|
||||||
case "mtia":
|
case "mtia":
|
||||||
torch.mtia.empty_cache()
|
torch.mtia.empty_cache()
|
||||||
|
case "cpu":
|
||||||
|
pass
|
||||||
|
|
||||||
match session.device.type:
|
match session.device.type:
|
||||||
case "cuda":
|
case "cuda":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user