Skip to content

Comments

[fix] use raw pointer instead of tensors as c++ binding parameter#108

Open
linhu-nv wants to merge 2 commits intotaco-project:mainfrom
linhu-nv:raw-pointer-fix
Open

[fix] use raw pointer instead of tensors as c++ binding parameter#108
linhu-nv wants to merge 2 commits intotaco-project:mainfrom
linhu-nv:raw-pointer-fix

Conversation

@linhu-nv
Copy link
Collaborator

@linhu-nv linhu-nv commented Feb 12, 2026

We used to direction use gpu/cpu tensors as a parameter from python to c++ calls. This occationally report "RuntimeError: Cannot access data pointer of Tensor that doesn't have storage" error. Now we directly use raw pointer as a parameter to avoid this.

@linhu-nv linhu-nv changed the title use raw pointer instead of tensors as c++ binding parameter [fix] use raw pointer instead of tensors as c++ binding parameter Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants