shadow-orange41

Results comments of shadow-orange41

Thank you @jeffpollock9! I tried this flag `-DEIGEN_DONT_VECTORIZE`, now for `N=4` it compiles, but still not for `N>4`. I wonder if there are other instructions that are not supported by...

Oh no worries! I attached the error. Looks like this one is different from the error log I shared before. Btw, how do you know this? > it looks like...

Thank you @jeffpollock9 for the help! @wsmoses would the developer team have time to look into this?

[error_matrix_size_5.txt](https://github.com/user-attachments/files/26144364/error_matrix_size_5.txt) I agree that `xor` does not seem to be differentiable. It appears to be introduced by Eigen through SSE vectorization when `matrix_size ≥ 4`. After following @jeffpollock9’s suggestion and...

Hi @jeffpollock9, thanks for the suggestion! Yeah, using a custom gradient for the inverse is a workaround. However, I'm more interested in having Enzyme compute the derivative by itself, without...

Thanks, that makes sense. However, is the eager mode `NaN` considered as the expected behavior or a bug, especially because the eager mode in PyTorch and Tensorflow produced the finite...

The NaN comes from the algebraic form of JAX's division / integer-power JVP rules. I inspected the Hessian jaxpr, the first non-finite value is: ``` a:f16[] = mul -2.0 b...

Thanks for the explanation. I can see now why we want to upcast `sum` when at low precision. That is, when the partial sum grows much larger than the next...

Sorry about that. I'll make sure not to file duplicate issues without cross-linking in the future. I've already filed an issue on NumPy's repo for this API.