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/07/12 07:29:22 UTC

[I] [Docs] [mahout]

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

   ### What
   
   The QDP documentation has stale CUDA tensor dtype guidance:
   
   - `qdp/qdp-python/README.md` says the pipeline float32 batch path is amplitude-only.
   - `docs/qdp/getting-started.md` says batched angle CUDA tensor inputs require float64.
   
   The implementation now supports float32 CUDA tensor inputs for angle and basis single-sample and batched encoding paths.
   
   ### Why
   
   Users reading the docs may unnecessarily cast supported CUDA tensors to float64, or assume that angle and basis float32 batched tensor paths are not available.
   
   That makes the docs disagree with the current QDP CUDA implementation and tests.
   
   ### How
   
   Update the QDP Python README and getting-started guide to document the current CUDA tensor dtype matrix:
   
   - `amplitude`: float32 or float64 CUDA tensors, single-sample or batched
   - `angle`: float32 or float64 CUDA tensors, single-sample or batched
   - `basis`: int64 or float32 CUDA index tensors, single-sample or batched
   - `iqp` / `iqp-z`: float64 CUDA tensors
   - `phase`: host input only for now
   
   Also clarify that streaming basis files still read indices as float64 because float32 cannot exactly represent large integer basis indices.
   


-- 
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] [Docs] Update QDP CUDA tensor dtype guidance for float32 angle and basis [mahout]

Posted by "400Ping (via GitHub)" <gi...@apache.org>.
400Ping closed issue #1438: [Docs] Update QDP CUDA tensor dtype guidance for float32 angle and basis
URL: https://github.com/apache/mahout/issues/1438


-- 
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