DeepSpeed icon indicating copy to clipboard operation
DeepSpeed copied to clipboard

Increasing the token-length based on available memory for GPT models

Open RezaYazdaniAminabadi opened this issue 2 years ago • 3 comments

RezaYazdaniAminabadi avatar Sep 01 '22 07:09 RezaYazdaniAminabadi

Running the new PR queries = ["cat " * 2000]*4 for max_new_tokens = 10, generated_tokens = [10,10,10,10] for max_new_tokens = 100, generated_tokens = [100,100,100,99] for 300 -> [299, 300, 299, 297] for 1500 -> [1500, 1276, 1500, 369

mayank31398 avatar Sep 08 '22 01:09 mayank31398

Hi, any update on the above @RezaYazdaniAminabadi ^^? Were you able to find the error?

mayank31398 avatar Sep 12 '22 16:09 mayank31398

Hi @mayank31398,

Looking into it right now, let me first merge this to another PR. I will let you know. Thanks, Reza

RezaYazdaniAminabadi avatar Sep 12 '22 16:09 RezaYazdaniAminabadi