[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

[Usage] Error during evaluation for image.../image.png: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm) #1762

Open
ChathurangiShyalika opened this issue Nov 12, 2024 · 0 comments

Comments

@ChathurangiShyalika
Copy link
ChathurangiShyalika commented Nov 12, 2024

Issue: I’m evaluating a set of images using LLAVA. I'm encountering this error and it happens intermittently. The evaluation works fine for the first image but fails for the second. I'm running this on an V100 GPU. The current output is as follows. Please provide a solution for this issue. Thank you

Output:

----------------------------
image_path /../image_1.png
Response: Classification is No.
----------------------------
image_path /../image_2.png
Error during evaluation for image /../image_2.png: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)
----------------------------
image_path /../image_3.png
Response: Classification is No.
----------------------------
image_path /../image_4.png
Error during evaluation for image /../image_2.png: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)
@ChathurangiShyalika ChathurangiShyalika changed the title [Usage] Error during evaluation for image.../image_2.png: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm) [Usage] Error during evaluation for image.../image.png: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm) Nov 12, 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