400Ping commented on PR #701:
URL: https://github.com/apache/mahout/pull/701#issuecomment-3626994750
```
Generating 12800 samples of 16 qubits...
Batch size : 64
Vector length: 65536
Batches : 200
Prefetch : 16
Generated 12800 samples
PennyLane/Qiskit format: 6400.00 MB
Mahout format: 6400.00 MB
======================================================================
E2E BENCHMARK: 16 Qubits, 12800 Samples
======================================================================
[PennyLane] Full Pipeline (DataLoader -> GPU)...
/home/jay/work/mahout/qdp/benchmark/benchmark_dataloader_throughput.py:144:
UserWarning: Casting complex values to real discards the imaginary part
(Triggered internally at /pytorch/aten/src/ATen/native/Copy.cpp:309.)
state_gpu = state_cpu.to("cuda", dtype=torch.float32)
Total Time: 6.8226 s (1876.1 vectors/sec)
[Qiskit] Full Pipeline (DataLoader -> GPU)...
Processed 60/64 vectors...
Total Time: 844.4946 s (15.2 vectors/sec)
[Mahout] Full Pipeline (DataLoader -> GPU)...
IO + Encode Time: 12.5888 s
Total Time: 12.5888 s (1016.8 vectors/sec)
======================================================================
THROUGHPUT (Higher is Better)
Samples: 12800, Qubits: 16
======================================================================
PennyLane 1876.1 vectors/sec
Mahout 1016.8 vectors/sec
Qiskit 15.2 vectors/sec
----------------------------------------------------------------------
Speedup vs PennyLane: 0.54x
Speedup vs Qiskit: 67.08x
```
--
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]