Cytnx
Cytnx copied to clipboard
CUDA Version Issues: RegularNetwork::Launch and linalg::Trace Errors
I encountered two errors while using the Cytnx CUDA version 1.0.0:
- RegularNetwork::Launch Error
RuntimeError:
# Cytnx error occur at virtual cytnx::UniTensor cytnx::RegularNetwork::Launch()
# error: [ERROR][Launch][RegularNetwork] Error,Sparse or Block type UniTensor network contraction is not support.
Issue: Sparse or Block-type UniTensor network contraction is not supported in the CUDA version.
- linalg::Trace Error
RuntimeError:
Cytnx error occur at cytnx::Tensor cytnx::linalg::Trace(const cytnx::Tensor&, const cytnx::cytnx_uint64&, const cytnx::cytnx_uint64&)
error: [ERROR][Trace] GPU is under developing.
Issue: The Trace function cannot be implemented for GPU.
Are there any temporary solutions for these issues?
Maybe move the network onto the CPU and try to call these functions on the CPU?
Yes, that is one way to do it, but I am wondering if there is a way to handle it directly in CUDA.