Skip to content

cupy 13.5 vs pytorch #116

@gschramm

Description

@gschramm
import cupy as cp
import array_api_compat.torch as xp

a = xp.asarray(cp.ones(5)

throws an error.

Needed e.g. in the Gaussian filter and projectors when projecting torch tensors.
Might need to go via DLpack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions