microsoft / microxcaling

PyTorch emulation library for Microscaling (MX)-compatible data formats
MIT License
165 stars 21 forks source link

Add approximate kwarg to gelu to match pytorch iface #19

Closed rizhao-msft closed 9 months ago

rizhao-msft commented 9 months ago

Newer versions of pytorch add an "approximate" kwarg to gelu. Add this arg to our gelu to match the pytorch iface. Should fix #17