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

extremely slow with transformers #167

Open
RaulKite opened this issue Jun 10, 2024 · 0 comments
Open

extremely slow with transformers #167

RaulKite opened this issue Jun 10, 2024 · 0 comments

Comments

@RaulKite
Copy link

I have this warning using Video-llava and it spends about 4 minutes to process a video. In previous versions it took about 30 seconds.

I have this warning that maybe is the reason:

UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor. (Triggered internally at ../torch/csrc/utils/tensor_new.cpp:245.)
return torch.tensor(value)

Do you know how solve it?

Thanks

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