Pearu Peterson

Results 67 issues of Pearu Peterson

As in the title and per discussion starting at https://github.com/pytorch/pytorch/pull/117907#issuecomment-2082426468 Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #125221

open source
ciflow/trunk
release notes: sparse
topic: bc breaking
topic: new features
topic: not user facing
ciflow/inductor

As in the title. Reproducer (using 1.4.0a1.dev43+g0d287bf): ```python >>> z = complex(mpmath.inf, mpmath.inf); mpmath.mp.asin(z), mpmath.fp.asin(z) # mp.asin vs expected (mpc(real='nan', imag='+inf'), (0.7853981633974483+infj)) >>> z = complex(mpmath.inf, -mpmath.inf); mpmath.mp.asin(z), mpmath.fp.asin(z) #...

bug

As in the title. Reproducer: ```python >>> mpmath.mp.asin(mpmath.mpc(0, 1e-22)) mpc(real='0.0', imag='0.0') >>> mpmath.fp.asin(mpmath.mpc(0, 1e-22)) # expected result 1e-22j ``` A workaround is to increase precision: ```python >>> mpmath.mp.prec=80 >>> mpmath.mp.asin(mpmath.mpc(0,...

bug

This proposal introduces a fill value property to PyTorch sparse tensors that generalizes the current interpretation of unspecified elements from zero value to any value, including an indefinite fill value...

module: sparse
cla signed

Update: this PR has grown very large, if you want to navigate it: - Look at the `.md` files at the end of the diff - Here is a rendered...

enhancement
cla signed

This rfc proposes a work plan for implementing Pytorch CSR storage format and introducing a new storage format Dimensions Mapping (DM) that allows extending CSR (and not only) to arbitrary...

module: sparse
cla signed

As in the title. ~Fixes https://github.com/openxla/xla/issues/8553~ - PR https://github.com/openxla/xla/pull/9802 disabled the fix. Update: the fix to https://github.com/openxla/xla/issues/8553 will be available via https://github.com/openxla/stablehlo/pull/2357

As in title. The reason is that each subtest compiles its own function to an independent LLVM module. To speed up the tests, all functions should be compiled into a...

tests

Perhaps already have string dictionary support by inputting key_for_string, but could make nicer ux around this

enhancement
heavydb

https://github.com/xnd-project/rbc/blob/1efb02691a751e5a69e3f256b29c6f51e93c40b8/rbc/omniscidb.py#L227-L230

code quality