You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/user/Documents/workspace/React/natural_voice_assistant/main.py", line 179, in main_loop
model = STT_LLM_TTS(device=device, tts_model = tts_model)
File "/home/user/Documents/workspace/React/natural_voice_assistant/models_voice_assistant/stt_llm_tts_model.py", line 406, in init
self.call_LLM(input="Your name is BUD-E. You are a friendly Ai Assistant that will answer every question correctly and in a friendly way.", reason="format", tokenize=True)
File "/home/user/Documents/workspace/React/natural_voice_assistant/models_voice_assistant/stt_llm_tts_model.py", line 428, in call_LLM
last_token, past_key_values = self.llm(t, self.past_key_values, len(self.response_sequence))
File "/home/user/Documents/Environments/bud_e_env/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/Documents/Environments/bud_e_env/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/Documents/workspace/React/natural_voice_assistant/models_voice_assistant/stt_llm_tts_model.py", line 309, in forward
model_inputs = self.model.prepare_inputs_for_generation(input_token, past_key_values=past_key_values if past_key_values is not None else [], use_cache=True)
File "/home/user/Documents/Environments/bud_e_env/lib/python3.10/site-packages/transformers/generation/utils.py", line 402, in prepare_inputs_for_generation
or (is_torchdynamo_compiling() or cache_position[-1] >= input_ids.shape[1]) # Exception 3
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/user/Documents/workspace/React/natural_voice_assistant/main.py", line 179, in main_loop
model = STT_LLM_TTS(device=device, tts_model = tts_model)
File "/home/user/Documents/workspace/React/natural_voice_assistant/models_voice_assistant/stt_llm_tts_model.py", line 406, in init
self.call_LLM(input="Your name is BUD-E. You are a friendly Ai Assistant that will answer every question correctly and in a friendly way.", reason="format", tokenize=True)
File "/home/user/Documents/workspace/React/natural_voice_assistant/models_voice_assistant/stt_llm_tts_model.py", line 428, in call_LLM
last_token, past_key_values = self.llm(t, self.past_key_values, len(self.response_sequence))
File "/home/user/Documents/Environments/bud_e_env/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/user/Documents/Environments/bud_e_env/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/Documents/workspace/React/natural_voice_assistant/models_voice_assistant/stt_llm_tts_model.py", line 309, in forward
model_inputs = self.model.prepare_inputs_for_generation(input_token, past_key_values=past_key_values if past_key_values is not None else [], use_cache=True)
File "/home/user/Documents/Environments/bud_e_env/lib/python3.10/site-packages/transformers/generation/utils.py", line 402, in prepare_inputs_for_generation
or (is_torchdynamo_compiling() or cache_position[-1] >= input_ids.shape[1]) # Exception 3
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered: