microsoft / microxcaling

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

Add approximate kwarg to gelu to match pytorch iface #19

Closed rizhao-msft closed 4 months ago

rizhao-msft commented 4 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