prewarming webgl backend

75 views
Skip to first unread message

Rohan Mahajan

unread,
Apr 7, 2021, 9:05:33 AM4/7/21
to TensorFlow.js Discussion
For webgl, I know the second time running is much slower than first time.
I was wondering any suggestions how to reduce this warmup time. Also, when does this warmup copying to the gpu terminate. From my observation, reloading the page causes it to be slow again. Let say I have an iframe same domain on many pages. Is there a way to take advantage of this prerunning one page when another users switches to another page but the same iframe will it work? Is there a way to cache stuff in gpu?
Thanks,
Rohan
Reply all
Reply to author
Forward
0 new messages