-
Notifications
You must be signed in to change notification settings - Fork 21
Add support for passing pytorch tensors directly to kernel calls #277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
If |
|
Not at the moment but this is not restricted to PyTorch. We need to have better error messages for invalid arguments passed to kernels. |
JBludau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the doctoring is wrong after the change
gliga
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When are tests coming
|
All good now, can't merge before @JBludau approval |
JBludau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good other than the file ending
|
As discussed in another PR, can we please add CI check for all line endings |
|
This checks if torch is installed and uses
torch.is_tensor()to check if the passed argument is a pytorch tensor.