rich7420 commented on code in PR #1000:
URL: https://github.com/apache/mahout/pull/1000#discussion_r2750532575


##########
qdp/qdp-python/benchmark/benchmark_latency.py:
##########
@@ -26,12 +26,20 @@
 from __future__ import annotations
 
 import argparse
+import sys
 import time
+from pathlib import Path
 
 import torch
 
-from _qdp import QdpEngine
-from utils import normalize_batch, prefetched_batches
+# Add project root to path so qumat_qdp is importable when run as script

Review Comment:
   Done. I removed the `sys.path` hack and rely on the package being importable 
when run from the qdp-python directory.



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

Reply via email to