Pearu Peterson
Pearu Peterson
Your request will be implemented when making pylibtiff release 0.4.4.
Inserting ``` if __name__ == '__main__': import sys, pytest pytest.main(sys.argv) ``` to a test script (say, test_mod.py) allows running scalene on the pytest compatible test functions. For instance: ``` scalene...
I know about `black` but have not used it in the pre-commit context actively (although, it is tempting..). For the pylibtiff project where the commit activity to the code is...
> There are some failures in one of the CI jobs – looks like inf/nan mismatches. Yes, I am in a process of fixing these. These emerged because the closeness...
`xla_extension_version >= 244` needs to be updated as the current `xla_extension_version` value conflicts with the one in the main branch, hence the test failures.
> ... I think it would be better to make the tests simpler and less brittle. I agree. I suggest replacing numpy with mpmath as a reference library.
Created https://github.com/google/jax/pull/20373 to resolve confusion in import/copybara.
Closing as https://github.com/google/jax/pull/20373 has landed. The items in the description will be addressed in follow-up PRs.
> `masked_sum(input, ~(input != input))` for nan. Nit: `masked_sum(input, input == input)` would work for the nan case as well.
I have been reading lengthy discussions about the problems of sharing buffers between different array libraries: all points are very much appreciated. It seems to me that the fundamental cause...