Error: C:\Users\Dell\AI\pythonProject\.venv\Scripts\python.exe…
- User
Error: C:\Users\Dell\AI\pythonProject.venv\Scripts\python.exe C:\Users\Dell\AI\pythonProject!EridAI\VLM\main.py 2024-10-06 17:36:09.357446: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable
TF_ENABLE_ONEDNN_OPTS=0. 2024-10-06 17:36:11.614208: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variableTF_ENABLE_ONEDNN_OPTS=0. Map (num_proc=4): 100%|██████████| 2434/2434 [00:35<00:00, 68.23 examples/s] Converted image at index 0 to tensor. Converted image at index 0 to tensor. Converted image at index 1 to tensor. Converted image at index 0 to tensor. Converted image at index 1 to tensor. Converted image at index 2 to tensor. Converted image at index 1 to tensor. Converted image at index 0 to tensor. Converted image at index 2 to tensor. Converted image at index 2 to tensor. Converted image at index 1 to tensor. Converted image at index 3 to tensor. Converted image at index 3 to tensor. Converted image at index 3 to tensor. Converted image at index 2 to tensor. Converted image at index 4 to tensor. Converted image at index 4 to tensor. Converted image at index 4 to tensor. Converted image at index 3 to tensor. Converted image at index 5 to tensor. Converted image at index 5 to tensor. Converted image at index 5 to tensor. Converted image at index 4 to tensor. Converted image at index 6 to tensor. Converted image at index 6 to tensor. Converted image at index 6 to tensor. Converted image at index 5 to tensor. Converted image at index 7 to tensor. Converted image at index 7 to tensor. Converted image at index 7 to tensor. Converted image at index 6 to tensor. Converted image at index 7 to tensor. Converted image at index 0 to tensor. Converted image at index 0 to tensor. Converted image at index 1 to tensor. Converted image at index 1 to tensor. Converted image at index 2 to tensor. Converted image at index 0 to tensor. Converted image at index 2 to tensor. Converted image at index 3 to tensor. Converted image at index 0 to tensor. Converted image at index 1 to tensor. Converted image at index 3 to tensor. Converted image at index 4 to tensor. Converted image at index 1 to tensor. Converted image at index 2 to tensor. Converted image at index 4 to tensor. Converted image at index 5 to tensor. Converted image at index 2 to tensor. Converted image at index 3 to tensor. Converted image at index 6 to tensor. Converted image at index 5 to tensor. Converted image at index 3 to tensor. Converted image at index 4 to tensor. Converted image at index 7 to tensor. Converted image at index 6 to tensor. Converted image at index 4 to tensor. Converted image at index 5 to tensor. Converted image at index 7 to tensor. Converted image at index 5 to tensor. Converted image at index 6 to tensor. Converted image at index 6 to tensor. Converted image at index 7 to tensor. Converted image at index 7 to tensor. C:\Users\Dell\AI\pythonProject.venv\Lib\site-packages\transformers\models\clip\modeling_clip.py:480: UserWarning: 1Torch was not compiled with flash attention. (Triggered internally at ..\aten\src\ATen\native\transformers\cuda\sdp_utils.cpp:455.) attn_output = torch.nn.functional.scaled_dot_product_attention( Converted image at index 0 to tensor. Converted image at index 1 to tensor. Converted image at index 2 to tensor. Converted image at index 3 to tensor. Converted image at index 4 to tensor. Converted image at index 5 to tensor. Converted image at index 6 to tensor. Converted image at index 7 to tensor. Traceback (most recent call last): File "C:\Users\Dell\AI\pythonProject!EridAI\VLM\main.py", line 220, in main() File "C:\Users\Dell\AI\pythonProject!EridAI\VLM\main.py", line 148, in main outputs = model(input_ids=input_ids, attention_mask=attention_mask, image=images) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Dell\AI\pythonProject.venv\Lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl return self._call_impl(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Dell\AI\pythonProject.venv\Lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl return forward_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Dell\AI\pythonProject!EridAI\VLM\main.py", line 23, in forward outputs = self.gpt2( ^^^^^^^^^^ File "C:\Users\Dell\AI\pythonProject.venv\Lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl return self._call_impl(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Dell\AI\pythonProject.venv\Lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl return forward_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Dell\AI\pythonProject.venv\Lib\site-packages\transformers\models\gpt2\modeling_gpt2.py", line 1315, in forward transformer_outputs = self.transformer( ^^^^^^^^^^^^^^^^^ File "C:\Users\Dell\AI\pythonProject.venv\Lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl return self._call_impl(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Dell\AI\pythonProject.venv\Lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl return forward_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Dell\AI\pythonProject.venv\Lib\site-packages\transformers\models\gpt2\modeling_gpt2.py", line 1157, in forward hidden_states = hidden_states.view(output_shape) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: cannot reshape tensor of 0 elements into shape [-1, 0, 768] because the unspecified dimension size -1 can be any value and is ambiguous - Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.