讨论 使用交流 声音模型无法启动

声音模型无法启动

zjc5284 发表于    阅读:39    回复:0

0

[PYI-4812:DEBUG] PyInstaller Bootloader 6.x

1

[PYI-4812:DEBUG] LOADER: executable file: E:\LLM\server-cosyvoice-win-x86-v0.0.3\main.exe

2

[PYI-4812:DEBUG] LOADER: trying to load executable-embedded archive...

3

[PYI-4812:DEBUG] LOADER: attempting to open archive E:\LLM\server-cosyvoice-win-x86-v0.0.3\main.exe

4

[PYI-4812:DEBUG] LOADER: cookie found at offset 0x30F4271

5

[PYI-4812:DEBUG] LOADER: archive file: E:\LLM\server-cosyvoice-win-x86-v0.0.3\main.exe

6

[PYI-4812:DEBUG] LOADER: application has onedir semantics...

7

[PYI-4812:DEBUG] LOADER: _PYI_ARCHIVE_FILE not defined...

8

[PYI-4812:DEBUG] LOADER: process level = 1

9

[PYI-4812:DEBUG] LOADER: application's top-level directory: E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep

10

[PYI-4812:DEBUG] LOADER: calling SetDllDirectory: E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep

11

[PYI-4812:DEBUG] LOADER: splash screen is unavailable.

12

[PYI-4812:DEBUG] LOADER: ucrtbase.dll found: E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\ucrtbase.dll

13

[PYI-4812:DEBUG] LOADER: loading Python shared library: E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\python38.dll

14

[PYI-4812:DEBUG] LOADER: loaded functions from Python shared library.

15

[PYI-4812:DEBUG] LOADER: pre-initializing embedded python interpreter...

16

[PYI-4812:DEBUG] LOADER: creating PyConfig structure...

17

[PYI-4812:DEBUG] LOADER: initializing interpreter configuration...

18

[PYI-4812:DEBUG] LOADER: setting program name...

19

[PYI-4812:DEBUG] LOADER: setting python home path...

20

[PYI-4812:DEBUG] LOADER: setting module search paths...

21

[PYI-4812:DEBUG] LOADER: setting sys.argv...

22

[PYI-4812:DEBUG] LOADER: applying run-time options...

23

[PYI-4812:DEBUG] LOADER: starting embedded python interpreter...

24

[PYI-4812:DEBUG] LOADER: setting sys._MEIPASS

25

[PYI-4812:DEBUG] LOADER: importing modules from PKG/CArchive

26

[PYI-4812:DEBUG] LOADER: extracted struct

27

[PYI-4812:DEBUG] LOADER: running unmarshalled code object for module struct...

28

[PYI-4812:DEBUG] LOADER: extracted pyimod01_archive

29

[PYI-4812:DEBUG] LOADER: running unmarshalled code object for module pyimod01_archive...

30

[PYI-4812:DEBUG] LOADER: extracted pyimod02_importers

31

[PYI-4812:DEBUG] LOADER: running unmarshalled code object for module pyimod02_importers...

32

[PYI-4812:DEBUG] LOADER: extracted pyimod03_ctypes

33

[PYI-4812:DEBUG] LOADER: running unmarshalled code object for module pyimod03_ctypes...

34

[PYI-4812:DEBUG] LOADER: extracted pyimod04_pywin32

35

[PYI-4812:DEBUG] LOADER: running unmarshalled code object for module pyimod04_pywin32...

36

[PYI-4812:DEBUG] LOADER: looking for PYZ archive TOC entry...

37

[PYI-4812:DEBUG] LOADER: path to PYZ archive stored into sys._pyinstaller_pyz...

38

[PYI-4812:DEBUG] LOADER: running pyiboot01_bootstrap.py

39

[PYI-4812:DEBUG] LOADER: running pyi_rth_inspect.py

40

[PYI-4812:DEBUG] LOADER: running pyi_rth_pkgutil.py

41

[PYI-4812:DEBUG] LOADER: running pyi_rth_multiprocessing.py

42

[PYI-4812:DEBUG] LOADER: running pyi_rth_setuptools.py

43

[PYI-4812:DEBUG] LOADER: running pyi_rth_pkgres.py

44

[PYI-4812:DEBUG] LOADER: running pyi_rth_cryptography_openssl.py

45

[PYI-4812:DEBUG] LOADER: running pyi_rth_mplconfig.py

46

[PYI-4812:DEBUG] LOADER: running pyi_rth__tkinter.py

47

[PYI-4812:DEBUG] LOADER: running webui.py

48

2025-01-24 15:18:19,848 - modelscope - INFO - PyTorch version 2.4.1+cu118 Found.

49

2025-01-24 15:18:19,849 - modelscope - INFO - Loading ast index from C:\Users\evilsir\.cache\modelscope\ast_indexer

50

2025-01-24 15:18:19,850 - modelscope - INFO - Loading done! Current index file version is 1.15.0, with md5 d41d8cd98f00b204e9800998ecf8427e and a total number of 0 components indexed

51

2025-01-24 15:18:22,761 DEBUG Attempting to acquire lock 2653517223632 on E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\static_ffmpeg\lock.file

52

2025-01-24 15:18:22,762 DEBUG Lock 2653517223632 acquired on E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\static_ffmpeg\lock.file

53

2025-01-24 15:18:22,762 DEBUG Attempting to release lock 2653517223632 on E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\static_ffmpeg\lock.file

54

2025-01-24 15:18:22,762 DEBUG Lock 2653517223632 released on E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\static_ffmpeg\lock.file

55

E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\diffusers\models\lora.py:393: FutureWarning: `LoRACompatibleLinear` is deprecated and will be removed in version 1.0.0. Use of `LoRACompatibleLinear` is deprecated. Please switch to PEFT backend by installing PEFT: `pip install peft`.

56

deprecate("LoRACompatibleLinear", "1.0.0", deprecation_message)

57

2025-01-24 15:18:28,397 INFO input frame rate=50

58

torch\nn\utils\weight_norm.py:134: FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`.

59

WeightNorm.apply(module, name, dim)

60

E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\cosyvoice\dataset\processor.py:24: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.

61

torchaudio.set_audio_backend('soundfile')

62

onnxruntime\capi\onnxruntime_inference_collection.py:69: UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'AzureExecutionProvider, CPUExecutionProvider'

63

warnings.warn(

64

E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\cosyvoice\cli\frontend.py:57: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.

65

self.spk2info = torch.load(spk2info, map_location=self.device)

66

2025-01-24 15:18:30,770 WETEXT INFO found existing fst: E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\tn\zh_tn_tagger.fst

67

2025-01-24 15:18:30,770 INFO found existing fst: E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\tn\zh_tn_tagger.fst

68

2025-01-24 15:18:30,770 WETEXT INFO E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\tn\zh_tn_verbalizer.fst

69

2025-01-24 15:18:30,770 INFO E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\tn\zh_tn_verbalizer.fst

70

2025-01-24 15:18:30,770 WETEXT INFO skip building fst for zh_normalizer ...

71

2025-01-24 15:18:30,770 INFO skip building fst for zh_normalizer ...

72

2025-01-24 15:18:31,386 WETEXT INFO found existing fst: E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\tn\en_tn_tagger.fst

73

2025-01-24 15:18:31,386 INFO found existing fst: E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\tn\en_tn_tagger.fst

74

2025-01-24 15:18:31,386 WETEXT INFO E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\tn\en_tn_verbalizer.fst

75

2025-01-24 15:18:31,386 INFO E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\tn\en_tn_verbalizer.fst

76

2025-01-24 15:18:31,386 WETEXT INFO skip building fst for en_normalizer ...

77

2025-01-24 15:18:31,386 INFO skip building fst for en_normalizer ...

78

E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\cosyvoice\cli\model.py:57: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.

79

self.llm.load_state_dict(torch.load(llm_model, map_location=self.device))

80

E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\cosyvoice\cli\model.py:60: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.

81

self.flow.load_state_dict(torch.load(flow_model, map_location=self.device))

82

E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\cosyvoice\cli\model.py:62: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.

83

self.hift.load_state_dict(torch.load(hift_model, map_location=self.device))

84

2025-01-24 15:18:36,847 DEBUG load_ssl_context verify=True cert=None trust_env=True http2=False

85

2025-01-24 15:18:36,848 DEBUG load_verify_locations cafile='E:\\LLM\\server-cosyvoice-win-x86-v0.0.3\\_dep\\certifi\\cacert.pem'

86

2025-01-24 15:18:36,850 DEBUG Using proactor: IocpProactor

87

2025-01-24 15:18:36,850 DEBUG load_ssl_context verify=True cert=None trust_env=True http2=False

88

2025-01-24 15:18:36,851 DEBUG load_verify_locations cafile='E:\\LLM\\server-cosyvoice-win-x86-v0.0.3\\_dep\\certifi\\cacert.pem'

89

E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\gradio\components\base.py:190: UserWarning: 'scale' value should be an integer. Using 0.5 will cause issues.

90

warnings.warn(

91

E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\gradio\components\base.py:190: UserWarning: 'scale' value should be an integer. Using 0.25 will cause issues.

92

warnings.warn(

93

E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep\gradio\layouts\column.py:55: UserWarning: 'scale' value should be an integer. Using 0.25 will cause issues.

94

warnings.warn(

95

2025-01-24 15:18:37,013 DEBUG Using proactor: IocpProactor

96

INFO: Started server process [4812]

97

INFO: Waiting for application startup.

98

INFO: Application startup complete.

99

ERROR: [Errno 10048] error while attempting to bind on address ('127.0.0.1', 50617): 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。

100

INFO: Waiting for application shutdown.

101

INFO: Application shutdown complete.

102

2025-01-24 15:18:37,356 DEBUG load_ssl_context verify=True cert=None trust_env=True http2=False

103

2025-01-24 15:18:37,357 DEBUG load_verify_locations cafile='E:\\LLM\\server-cosyvoice-win-x86-v0.0.3\\_dep\\certifi\\cacert.pem'

104

2025-01-24 15:18:37,363 DEBUG load_ssl_context verify=True cert=None trust_env=True http2=False

105

2025-01-24 15:18:37,364 DEBUG load_verify_locations cafile='E:\\LLM\\server-cosyvoice-win-x86-v0.0.3\\_dep\\certifi\\cacert.pem'

106

2025-01-24 15:18:37,862 DEBUG load_ssl_context verify=True cert=None trust_env=True http2=False

107

2025-01-24 15:18:37,863 DEBUG load_verify_locations cafile='E:\\LLM\\server-cosyvoice-win-x86-v0.0.3\\_dep\\certifi\\cacert.pem'

108

2025-01-24 15:18:37,866 DEBUG load_ssl_context verify=True cert=None trust_env=True http2=False

109

2025-01-24 15:18:37,866 DEBUG load_verify_locations cafile='E:\\LLM\\server-cosyvoice-win-x86-v0.0.3\\_dep\\certifi\\cacert.pem'

110

2025-01-24 15:18:38,368 DEBUG connect_tcp.started host='127.0.0.1' port=4780 local_address=None timeout=3 socket_options=None

111

2025-01-24 15:18:38,368 DEBUG connect_tcp.started host='127.0.0.1' port=4780 local_address=None timeout=3 socket_options=None

112

2025-01-24 15:18:38,369 DEBUG connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x00000269932AB190>

113

2025-01-24 15:18:38,394 DEBUG connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x00000269932AB130>

114

2025-01-24 15:18:38,901 DEBUG start_tls.started ssl_context=<ssl.SSLContext object at 0x00000269932BDA40> server_hostname='127.0.0.1' timeout=3

115

2025-01-24 15:18:38,901 DEBUG start_tls.failed exception=ConnectError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))

116

2025-01-24 15:18:38,907 DEBUG Starting new HTTPS connection (1): huggingface.co:443

117

2025-01-24 15:18:38,927 DEBUG start_tls.started ssl_context=<ssl.SSLContext object at 0x00000269932BDD40> server_hostname='127.0.0.1' timeout=3

118

2025-01-24 15:18:38,928 DEBUG start_tls.failed exception=ConnectError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1149)'))

119

transformer is not installed, please install it if you want to use related modules

120

failed to import ttsfrd, use WeTextProcessing instead

121

##################### MSBrick Info #####################

122

root: E:\LLM\server-cosyvoice-win-x86-v0.0.3\_dep

123

args: Namespace(gpu_mode='', model_dir='E:\\LLM\\server-cosyvoice-win-x86-v0.0.3\\_dep\\pretrained_models/CosyVoice-300M', port=50617)

124

######################################################


我来评论
语言
QQ
微信客服
微信群
客服