TensorRT icon indicating copy to clipboard operation
TensorRT copied to clipboard

Regarding tensorRT gpu memory usage

Open Jutcq opened this issue 5 years ago • 2 comments

Hi Guys, can tensorRT set a max gpu memory limit as tensorflow does?

In this issue, @mk-nvidia mentioned publishing additional documentation on memory usage in TensorRT soon. is it ready?

As of now the most relevant doc about gpu memory usage we can find is "How do I determine how much device memory TensorRT will need to run my network?" in tensorRT dev guide FAQ. it mentions "The size of persistent memory allocated is reported in the verbose logs generated during the creation of the execution context.", however we do not see the verbose log reporting memory allocated during creation, anything wrong?

thanks.

Jutcq avatar Apr 07 '21 08:04 Jutcq

@Jutcq , Sorry the additional memory usage doc is not ready yet. BTW in the 8.0 release, we will report the memory usage in the dependency library like cudnn/cublas. Thanks

ttyio avatar Apr 29 '21 07:04 ttyio

Close since no activity for more than 3 weeks, please reopen if you still have question, thanks!

ttyio avatar May 21 '21 05:05 ttyio