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

[Feature] Save cache from requests and load #1932

Open
2 tasks done
SinanAkkoyun opened this issue Nov 6, 2024 · 0 comments
Open
2 tasks done

[Feature] Save cache from requests and load #1932

SinanAkkoyun opened this issue Nov 6, 2024 · 0 comments

Comments

@SinanAkkoyun
Copy link

SinanAkkoyun commented Nov 6, 2024

Checklist

Motivation

This might be difficult to implement, but I am facing the following issue:
When running Qwen2-VL on bigger images, the preprocessor takes a long time to convert the images to tokens.

It would be awesome if we could have a way (OpenAI API with extra parameters) to tell the backend to store the cache of a request and load it by ID for another request, which would make it possible to not reprocess every image (and prompt in general) on each call.

If my problem could be solved in an easier way I would be thankful for any input :)

Related resources

No response

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