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/08/16 13:35:35 UTC

[I] [Bug] Documented float32_pipeline argument is rejected by the QDP throughput helper [mahout]

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

   
   ### What
   
   The public Python API documentation exposes `run_throughput_pipeline_py(..., float32_pipeline=False)`. The installed native function instead accepts a `dtype` keyword, so the documented float32 call fails before the pipeline runs.
   
   Steps to reproduce:
   
   ```python
   from qumat_qdp import run_throughput_pipeline_py
   
   run_throughput_pipeline_py(
       device_id=0,
       num_qubits=2,
       batch_size=2,
       total_batches=1,
       encoding_method="amplitude",
       float32_pipeline=True,
   )
   ```
   
   **Actual result:**
   
   ```text
   TypeError: run_throughput_pipeline_py() got an unexpected keyword argument 'float32_pipeline'
   ```
   
   **Expected result:** The documented `float32_pipeline=True` call runs the native throughput pipeline with float32 data instead of raising `TypeError`.
   
   ### Environment
   
   - OS: Linux
   - Python version: 3.12.12
   - Qumat version: 0.7.0.dev0 (`qumat-qdp` 0.3.0.dev0)
   - GPU: NVIDIA GeForce RTX 4090
   


-- 
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] [Bug] Documented float32_pipeline argument is rejected by the QDP throughput helper [mahout]

Posted by "400Ping (via GitHub)" <gi...@apache.org>.
400Ping closed issue #1471: [Bug] Documented float32_pipeline argument is rejected by the QDP throughput helper
URL: https://github.com/apache/mahout/issues/1471


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


Re: [I] [Bug] Documented float32_pipeline argument is rejected by the QDP throughput helper [mahout]

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

   > Hi [@viiccwen](https://github.com/viiccwen), I’d like to work on this issue. I’ll first trace the Python wrapper/native binding for `run_throughput_pipeline_py`, verify the intended `float32_pipeline` behavior, and add a regression test before implementing the fix.
   
   Just raise a PR, and please DO NOT raise AI slop.


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


Re: [I] [Bug] Documented float32_pipeline argument is rejected by the QDP throughput helper [mahout]

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

   Hi @viiccwen, I’d like to work on this issue. I’ll first trace the Python wrapper/native binding for `run_throughput_pipeline_py`, verify the intended `float32_pipeline` behavior, and add a regression test before implementing the fix.
   


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