Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start.bat error #163

Open
yo1nick opened this issue Sep 11, 2024 · 0 comments
Open

Start.bat error #163

yo1nick opened this issue Sep 11, 2024 · 0 comments

Comments

@yo1nick
Copy link

yo1nick commented Sep 11, 2024

When I try to run start.bat I get the following error:

Loading tokenizer JSON: ./modules/tortoise-tts/tortoise/data/tokenizer.json Loaded tokenizer Loading autoregressive model: ./training/Hugo/finetune/models/1407_gpt.pth Traceback (most recent call last): File "E:\ai-voice-cloning\src\main.py", line 36, in <module> tts = load_tts() ^^^^^^^^^^ File "E:\AiVoice\ai-voice-cloning\src\utils.py", line 3760, in load_tts tts = TorToise_TTS(minor_optimizations=not args.low_vram, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\AiVoice\ai-voice-cloning\modules\tortoise-tts\tortoise\api.py", line 308, in __init__ self.load_autoregressive_model(autoregressive_model_path) File "E:\AiVoice\ai-voice-cloning\modules\tortoise-tts\tortoise\api.py", line 393, in load_autoregressive_model self.autoregressive.post_init_gpt2_config(use_deepspeed=self.use_deepspeed, kv_cache=self.use_kv_cache) File "E:\AiVoice\ai-voice-cloning\modules\tortoise-tts\tortoise\models\autoregressive.py", line 387, in post_init_gpt2_config import deepspeed File "E:\AiVoice\ai-voice-cloning\venv\Lib\site-packages\deepspeed\__init__.py", line 26, in <module> from . import module_inject File "E:\AiVoice\ai-voice-cloning\venv\Lib\site-packages\deepspeed\module_inject\__init__.py", line 6, in <module> from .replace_module import replace_transformer_layer, revert_transformer_layer, ReplaceWithTensorSlicing, GroupQuantizer, generic_injection File "E:\AiVoice\ai-voice-cloning\venv\Lib\site-packages\deepspeed\module_inject\replace_module.py", line 607, in <module> from ..pipe import PipelineModule File "E:\AiVoice\ai-voice-cloning\venv\Lib\site-packages\deepspeed\pipe\__init__.py", line 6, in <module> from ..runtime.pipe import PipelineModule, LayerSpec, TiedLayerSpec File "E:\AiVoice\ai-voice-cloning\venv\Lib\site-packages\deepspeed\runtime\pipe\__init__.py", line 6, in <module> from .module import PipelineModule, LayerSpec, TiedLayerSpec File "E:\AiVoice\ai-voice-cloning\venv\Lib\site-packages\deepspeed\runtime\pipe\module.py", line 19, in <module> from ..activation_checkpointing import checkpointing File "E:\AiVoice\ai-voice-cloning\venv\Lib\site-packages\deepspeed\runtime\activation_checkpointing\checkpointing.py", line 26, in <module> from deepspeed.runtime.config import DeepSpeedConfig File "E:\AiVoice\ai-voice-cloning\venv\Lib\site-packages\deepspeed\runtime\config.py", line 42, in <module> from ..elasticity import ( File "E:\AiVoice\ai-voice-cloning\venv\Lib\site-packages\deepspeed\elasticity\__init__.py", line 10, in <module> from .elastic_agent import DSElasticAgent File "E:\AiVoice\ai-voice-cloning\venv\Lib\site-packages\deepspeed\elasticity\elastic_agent.py", line 9, in <module> from torch.distributed.elastic.agent.server.api import log, _get_socket_with_port ImportError: cannot import name 'log' from 'torch.distributed.elastic.agent.server.api' (E:\AiVoice\ai-voice-cloning\venv\Lib\site-packages\torch\distributed\elastic\agent\server\api.py) Press any key to continue . . .

@yo1nick yo1nick changed the title Start.bat errors Start.bat error Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant