guan404ming commented on PR #851:
URL: https://github.com/apache/mahout/pull/851#issuecomment-3767860796
Generating 200 samples of 16 qubits...
Generated 200 samples
Parquet: 0.00 MB, Arrow IPC: 0.00 MB
======================================================================
E2E BENCHMARK: 16 Qubits, 200 Samples
======================================================================
[PennyLane] Full Pipeline (Disk -> GPU) - basis encoding...
IO Time: 0.0092 s
/home/gmchiu/Documents/GitHub/mahout/qdp/qdp-python/benchmark/benchmark_e2e.py:263:
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: 0.3249 s
[Mahout-Parquet] Full Pipeline (Parquet -> GPU)...
Parquet->GPU (IO+Encode): 0.4275 s
DLPack conversion: 0.0001 s
Convert to float32: 0.0180 s
Total Time: 0.4596 s
[Mahout-Arrow] Full Pipeline (Arrow IPC -> GPU)...
Arrow->GPU (IO+Encode): 0.0014 s
DLPack conversion: 0.0001 s
Convert to float32: 0.0011 s
Total Time: 0.0068 s
======================================================================
E2E LATENCY (Lower is Better)
Samples: 200, Qubits: 16
======================================================================
Mahout-Arrow 0.0068 s
PennyLane 0.3249 s
Mahout-Parquet 0.4596 s
----------------------------------------------------------------------
Speedup vs PennyLane: 47.53x
======================================================================
VERIFICATION (Mahout-Arrow vs Mahout-Parquet)
======================================================================
Max Probability Difference: 0.00e+00
Max Amplitude Difference: 0.00e+00
>> SUCCESS: Quantum States Match!
======================================================================
VERIFICATION (Mahout-Arrow vs PennyLane)
======================================================================
Max Probability Difference: 0.00e+00
Max Amplitude Difference: 0.00e+00
>> SUCCESS: Quantum States Match!
======================================================================
VERIFICATION (Mahout-Parquet vs PennyLane)
======================================================================
Max Probability Difference: 0.00e+00
Max Amplitude Difference: 0.00e+00
>> SUCCESS: Quantum States Match!
--
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]