Leo Fang

Results 278 issues of Leo Fang

```python >>> import cupy as cp >>> a = cp.empty(10) >>> type(a).__module__ # should simply be 'cupy' 'cupy.core.core' >>> cp.sum.__module__ # should simply be 'cupy' 'cupy.math.sumprod' >>> >>> import numpy...

cat:numpy-compat
prio:medium

### Description Root cause of #6367, see https://github.com/cupy/cupy/pull/6874#issuecomment-1189740670. ### To Reproduce _No response_ ### Installation _No response_ ### Environment ``` # Paste the output here ``` ### Additional Information To...

cat:bug
st:needs-discussion

### Description [This documentation](https://docs.cupy.dev/en/latest/reference/generated/cupyx.distributed.init_process_group.html) can be improved when `use_mpi` is set to True: - *"Currently the user needs to specify each process rank and the total number of processes, and...

cat:document
prio:medium

Currently there are a number of places in the codebase where the dtype for `indptr` and `indices` are hardcoded to `'i'` (i.e., `int32`), for example: https://github.com/cupy/cupy/blob/22e270f303603848584974d1fbee5a38c9a5c428/cupyx/scipy/sparse/compressed.py#L330-L331 But they shouldn't be....

cat:enhancement
prio:high

I don't know how it started (I am sure it's not in CuPy's doc at all) but I've seen several bug reports from the ML community calling this function (such...

cat:enhancement
prio:high
pr-ongoing

Part of #6078. For the previous discussion about the `einsum_path` refactoring, please see #6261 and #6677. This PR adds the missing `cupy.einsum_path` function for NumPy compatibility. In order to avoid...

cat:feature
prio:medium

I am improving CuPy's documentation and hit this issue... Let's say I want to reference `arange` from the array API. Ideally, I would expect this should work out of box:...

document formatting
maintenance

This question was raised by @shwina during an internal discussion: If I create two array objects, one from `cupy.array_api` and another from `numpy.array_api`, if I do `a+b` or `b+a` what...

question

Recently [we found](https://github.com/rapidsai/cudf/issues/9389) that DLPack has this requirement noted in the header: https://github.com/dmlc/dlpack/blob/a02bce20e2dfa0044b9b2ef438e8eaa7b0f95e96/include/dlpack/dlpack.h#L139-L141. Would this be an issue for all adopting libraries? As far as I know, CuPy doesn't do...

topic: dlpack

It's midnight so I might be asking silly or trivial questions...Let me know if I am! 😄 I think as we move forward and finalize the standard while downstream libraries...

tooling