ignaciosica / tinygrad

You like pytorch? You like micrograd? You love tinygrad! ❤️
MIT License
0 stars 0 forks source link

fix bf16 dtype_alu tests #49

Open ignaciosica opened 1 month ago

ignaciosica commented 1 month ago

7203

ignaciosica commented 1 month ago

stuck with bug (huge precision error for exp)

ignaciosica commented 1 month ago

can fix with rules (auto cast exp2 to float and remove bfloat16 intermediary cast)

ignaciosica commented 1 month ago

move uop casting to late rewrite