Awesome sharing, @sshleifer!
Perhaps let’s add these notes to README.md? Otherwise it’d be difficult to remember that this is on the forums - or perhaps create OPTIMIZATIONS.md
with various such performance notes - so README focuses on functionality, and the latter for tips and tricks.