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

Modification for Model Generation in quantized_cache.py #77

Open
Mefisto04 opened this issue Oct 19, 2024 · 0 comments
Open

Modification for Model Generation in quantized_cache.py #77

Mefisto04 opened this issue Oct 19, 2024 · 0 comments

Comments

@Mefisto04
Copy link

To enhance the functionality and usability of the model generation code located in performance_optimization/quantized_cache.py, the following optimizations are proposed:

  1. Handle Multiple Prompts: Implement a function to process multiple prompts in a single execution, allowing batch processing and improving efficiency.

  2. Control Over Output Length and Sampling: Add parameters to allow users to specify the maximum output length and whether to use sampling or greedy decoding for text generation.

  3. Batch Processing: Optimize the code to process inputs in batches, reducing the overhead of multiple calls to the model and improving performance.

please assign this to me so that i can contribute in it.

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