rich7420 commented on PR #820:
URL: https://github.com/apache/mahout/pull/820#issuecomment-3742271662
after
```
uv run python benchmark_latency_pytorch.py --qubits 16 --batches 100
--batch-size 32 2>&1
Uninstalled 1 package in 0.40ms
Installed 1 package in 4ms
PyTorch Tensor Encoding Benchmark: 16 Qubits, 3200 Samples
Batch size : 32
Vector length: 65536
Batches : 100
Prefetch : 16
======================================================================
PYTORCH TENSOR LATENCY BENCHMARK: 16 Qubits, 3200 Samples
======================================================================
[Mahout-PyTorch] PyTorch Tensor Input (Zero-Copy Optimization)...
Total Time: 2.3464 s (0.733 ms/vector)
[Mahout-NumPy] NumPy Array Input (Baseline)...
Total Time: 2.3175 s (0.724 ms/vector)
======================================================================
LATENCY COMPARISON (Lower is Better)
Samples: 3200, Qubits: 16
======================================================================
PyTorch Tensor 0.733 ms/vector
NumPy Array 0.724 ms/vector
----------------------------------------------------------------------
Speedup: 0.99x
Improvement: -1.2%
```
--
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]