rich7420 commented on PR #820:
URL: https://github.com/apache/mahout/pull/820#issuecomment-3742270594
before
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 2ms
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.8140 s (0.879 ms/vector)
[Mahout-NumPy] NumPy Array Input (Baseline)...
Total Time: 2.3389 s (0.731 ms/vector)
======================================================================
LATENCY COMPARISON (Lower is Better)
Samples: 3200, Qubits: 16
======================================================================
PyTorch Tensor 0.879 ms/vector
NumPy Array 0.731 ms/vector
----------------------------------------------------------------------
Speedup: 0.83x
Improvement: -20.3%
--
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]