We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
模型:Yuan2-2B-hf transformers==4.39.1 torch==2.2.1
错误信息 ERROR | stderr | Exception in thread Thread-3 (generate): ERROR | stderr | Traceback (most recent call last): ERROR | stderr | File "/opt/miniconda3/envs/yuan2/lib/python3.10/threading.py", line 1016, in _bootstrap_inner ERROR | stderr | self.run() ERROR | stderr | File "/opt/miniconda3/envs/yuan2/lib/python3.10/threading.py", line 953, in run ERROR | stderr | self._target(*self._args, **self._kwargs) ERROR | stderr | File "/opt/miniconda3/envs/yuan2/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context ERROR | stderr | return func(*args, **kwargs) ERROR | stderr | File "/opt/miniconda3/envs/yuan2/lib/python3.10/site-packages/transformers/generation/utils.py", line 1411, in generate ERROR | stderr | streamer.put(input_ids.cpu()) ERROR | stderr | File "/opt/miniconda3/envs/yuan2/lib/python3.10/site-packages/transformers/generation/streamers.py", line 89, in put ERROR | stderr | value = value[0] ERROR | stderr | IndexError: index 0 is out of bounds for dimension 0 with size 0
The text was updated successfully, but these errors were encountered:
@zhaoxudong01-ieisystem @Huifu1018
Sorry, something went wrong.
No branches or pull requests
模型:Yuan2-2B-hf
transformers==4.39.1
torch==2.2.1
错误信息
ERROR | stderr | Exception in thread Thread-3 (generate):
ERROR | stderr | Traceback (most recent call last):
ERROR | stderr | File "/opt/miniconda3/envs/yuan2/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
ERROR | stderr | self.run()
ERROR | stderr | File "/opt/miniconda3/envs/yuan2/lib/python3.10/threading.py", line 953, in run
ERROR | stderr | self._target(*self._args, **self._kwargs)
ERROR | stderr | File "/opt/miniconda3/envs/yuan2/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
ERROR | stderr | return func(*args, **kwargs)
ERROR | stderr | File "/opt/miniconda3/envs/yuan2/lib/python3.10/site-packages/transformers/generation/utils.py", line 1411, in generate
ERROR | stderr | streamer.put(input_ids.cpu())
ERROR | stderr | File "/opt/miniconda3/envs/yuan2/lib/python3.10/site-packages/transformers/generation/streamers.py", line 89, in put
ERROR | stderr | value = value[0]
ERROR | stderr | IndexError: index 0 is out of bounds for dimension 0 with size 0
The text was updated successfully, but these errors were encountered: