You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "ryankert01 (via GitHub)" <gi...@apache.org> on 2026/01/22 06:14:26 UTC

[I] refactor: validate_tensor() [mahout]

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: dev-unsubscribe@mahout.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] refactor: validate_tensor() [mahout]

Posted by "ryankert01 (via GitHub)" <gi...@apache.org>.
ryankert01 commented on issue #907:
URL: https://github.com/apache/mahout/issues/907#issuecomment-3784181631

   tentatively reserve for @CheyuWu 


-- 
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: dev-unsubscribe@mahout.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] refactor: validate_tensor() [mahout]

Posted by "CheyuWu (via GitHub)" <gi...@apache.org>.
CheyuWu commented on issue #907:
URL: https://github.com/apache/mahout/issues/907#issuecomment-3784236179

   Thanks, I will take it


-- 
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: dev-unsubscribe@mahout.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org