You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mahout.apache.org by "viiccwen (via GitHub)" <gi...@apache.org> on 2026/04/22 10:46:16 UTC

[I] [Testing] Add DLPack regression tests for CUDA batch angle encoding in qdp-python [mahout]

viiccwen opened a new issue, #1280:
URL: https://github.com/apache/mahout/issues/1280

   ### What
   
   Add regression tests for DLPack and zero-copy interoperability on CUDA batch angle encoding paths in qdp-python.
   
   Recent work added batch `float32` CUDA angle encoding support in the Python bindings. This follow-up should strengthen regression coverage around the Python <-> PyTorch handoff for that path.
   
   ### Why
   
   One of the main reasons to use the CUDA tensor path is zero-copy integration through DLPack.
   
   The current feature tests cover correctness and validation behavior, but they do not fully protect interoperability expectations such as:
   - compatibility with `torch.from_dlpack(...)`
   - output device placement
   - output dtype following engine precision
   - output shape for batched inputs
   
   A dedicated regression layer here would make the zero-copy workflow safer to evolve.
   
   ### How
   
   - add qdp-python tests that consume CUDA batch angle outputs through `torch.from_dlpack(...)`
   - assert expected device, dtype, and shape
   - include at least one deterministic batch case for state-value sanity checks
   - keep the scope limited to DLPack / interop regression coverage
   


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

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


Re: [I] [Testing] Add DLPack regression tests for CUDA batch angle encoding in qdp-python [mahout]

Posted by "viiccwen (via GitHub)" <gi...@apache.org>.
viiccwen closed issue #1280: [Testing] Add DLPack regression tests for CUDA batch angle encoding in qdp-python
URL: https://github.com/apache/mahout/issues/1280


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

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