hjmshi / PyTorch-LBFGS

A PyTorch implementation of L-BFGS.
MIT License
581 stars 66 forks source link

8-bit L-BFGS #19

Open Demirrr opened 3 years ago

Demirrr commented 3 years ago

Hello @hjmshi ,

Recently I stumbled upon the Bits&Bytes wrapper. Since then I can't help but wonder whether we could adapt this idea for the second order methods, namely, 8-bit L-BFGS i.e., L-BFGS using an 8-bit state instead of an 32-bit.

I was wondering whata are your initial thoughts on it ?