GPU - Unified Memory error with NDTensors.cu()

In the meantime, you could try using adapt(CuArray{Float64,<:Any,UnifiedMemory}, x) where x is your MPS. adapt is defined in the package Adapt.jl so you’ll have to install and load that package.

Also note that the latest syntax is random_mps, not randomMPS, we’ll be deprecating randomMPS.

1 Like