File tree Expand file tree Collapse file tree 4 files changed +16
-1
lines changed Expand file tree Collapse file tree 4 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1818from hyperpyyaml import load_hyperpyyaml
1919from modelscope import snapshot_download
2020import torch
21+ try :
22+ import intel_extension_for_pytorch as ipex
23+ except Exception :
24+ pass
25+
2126from cosyvoice .cli .frontend import CosyVoiceFrontEnd
2227from cosyvoice .cli .model import CosyVoiceModel , CosyVoice2Model
2328from cosyvoice .utils .file_utils import logging
Original file line number Diff line number Diff line change 1616import json
1717import onnxruntime
1818import torch
19+ try :
20+ import intel_extension_for_pytorch as ipex
21+ except Exception :
22+ pass
23+
1924import numpy as np
2025import whisper
2126from typing import Callable
Original file line number Diff line number Diff line change 1414import os
1515from typing import Generator
1616import torch
17+ try :
18+ import intel_extension_for_pytorch as ipex
19+ except Exception :
20+ pass
21+
1722import numpy as np
1823import threading
1924import time
Original file line number Diff line number Diff line change @@ -35,4 +35,4 @@ uvicorn==0.30.0
3535wget == 3.2
3636fastapi == 0.115.6
3737fastapi-cli == 0.0.4
38- WeTextProcessing == 1.0.3
38+ WeTextProcessing == 1.0.3
You can’t perform that action at this time.
0 commit comments