Skip to content

显存爆炸 #45

Description

@bebilli

转语音的文本:你...你在唱什么歌? 别...别吓我啦...
显存:
Image
错误消息:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 513, in generate
for result in new_gen:
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\utils_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "D:\tts\ChatTTSPlus-windows\chattts_plus\trt_models\gpt_trt.py", line 428, in generate
x: torch.Tensor = self.head_codenum_vq_iter
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\nn\modules\module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\nn\modules\module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\nn\modules\linear.py", line 117, in forward
return F.linear(input, self.weight, self.bias)
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\nn\utils\parametrize.py", line 376, in get_parametrized
return get_cached_parametrization(parametrization)
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\nn\utils\parametrize.py", line 359, in get_cached_parametrization
tensor = parametrization()
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\nn\modules\module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\nn\modules\module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\nn\utils\parametrize.py", line 279, in forward
x = self0
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\nn\modules\container.py", line 297, in getitem
return self._modules[self._get_abs_string_index(idx)]
File "D:\tts\ChatTTSPlus-windows\venv\lib\site-packages\torch\nn\modules\container.py", line 285, in _get_abs_string_index
idx = operator.index(idx)
RecursionError: maximum recursion depth exceeded while calling a Python object
code: 0%| | 0/2048(max) [00:00, ?it/s]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions