ryankert01 opened a new issue, #907:
URL: https://github.com/apache/mahout/issues/907
Good catch, got it!
In `validate_tensor` has a part of it redundant as it rechecks
`is_pytorch_tensor(tensor)`, but it can also catch other hardware tensor like
MPS, XLA, HPU, etc. if any.
We can refactor it and remove `is_pytorch_tensor(tensor)` as a followup. and
the function name probably should be renamed to `validate_tensor_cpu` or
something.
_Originally posted by @ryankert01 in
https://github.com/apache/mahout/pull/881#discussion_r2708210622_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]