FlexGen icon indicating copy to clipboard operation
FlexGen copied to clipboard

is cpu peak_mem monitoring work?

Open dlfrnaos19 opened this issue 2 years ago • 2 comments

Thank you for the amazing project!

I was on checking opt-30B model with the provided code in readme.

python3 -m flexgen.flex_opt --model facebook/opt-30b --percent 0 100 100 0 100 0

and the result is

image

as I watched the progress, peak memory was 95/126GB, So I wonder is this right or, bug?

any keyword would help me, thanks!

dlfrnaos19 avatar Mar 01 '23 08:03 dlfrnaos19

this is not working as you expected. it is calculated by tensor size :-)

henrywoo avatar Mar 07 '23 09:03 henrywoo

thanks for your help!

dlfrnaos19 avatar Mar 08 '23 08:03 dlfrnaos19