To enhance the functionality and usability of the model generation code located in performance_optimization/quantized_cache.py, the following optimizations are proposed:
Handle Multiple Prompts: Implement a function to process multiple prompts in a single execution, allowing batch processing and improving efficiency.
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.
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.
To enhance the functionality and usability of the model generation code located in
performance_optimization/quantized_cache.py
, the following optimizations are proposed:Handle Multiple Prompts: Implement a function to process multiple prompts in a single execution, allowing batch processing and improving efficiency.
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.
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.