bert icon indicating copy to clipboard operation
bert copied to clipboard

Plan to have a FP16 flag for GPU that can save the memory usage ?

Open howardhsu opened this issue 8 years ago • 1 comments

Is there a plan to have a FP16 version of tuning so to double the virtual memory of GPU to allow for larger batch size or longer texts ?

howardhsu avatar Nov 09 '18 02:11 howardhsu

We probably wont add support for this to the main repository because it will add substantial complexity and only a limited number of GPUs can take advantage of it. Someone is welcome to fork it and add support if they want.

jacobdevlin-google avatar Nov 09 '18 05:11 jacobdevlin-google