-
Notifications
You must be signed in to change notification settings - Fork 973
[QDP] Initiate project QDP #786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* structure * fix a lots of cuda errors * change folder name * improve
* Add Python bindings for QDP using PyO3 * Add QuantumTensor class for DLPack integration * Add TODO * Update qdp/qdp-python/src/lib.rs Co-authored-by: Ryan Huang <[email protected]> --------- Co-authored-by: Ryan Huang <[email protected]>
* add nvtx and some comments * Update qdp/docs/observability/NVTX_USAGE.md Co-authored-by: Ryan Huang <[email protected]> * catch cuda include path * fix prefix errors * fix precommit error and rebuild Cargo.lock * fix precommit error * fix precommit errors --------- Co-authored-by: Ryan Huang <[email protected]>
* add preprocessing module * Remove unused import of Cow
Signed-off-by: 400Ping <[email protected]>
* async pipline * prevent error * Add TODO for dynamic chunk size tuning Added a TODO comment to tune chunk size dynamically based on GPU model or PCIe bandwidth. * update * add a test
* Integrate Apache Arrow & Parquet for data processing * Optimize Arrow Float64Array handling in io * Add chunked Arrow Float64Array support * Refactor encoding to support chunked Arrow Float64Array input * Refactor I/O and encoding documentation to remove zero-copy
* add vanilla gpu kernel Signed-off-by: ryankert01 <[email protected]> * Optimize amplitude encoding kernel with safety checks Refactored kernel to use multiplication for normalization and optimized memory access with double2. Added safety checks for input parameters. * Remove comments on norm validation and optimization Removed comments regarding norm checks and optimization. * add docker dev container and test Signed-off-by: ryankert01 <[email protected]> * add docker dev containe Signed-off-by: ryankert01 <[email protected]> * delete unrelated strings Signed-off-by: ryankert01 <[email protected]> * delete unrelated strings Signed-off-by: ryankert01 <[email protected]> --------- Signed-off-by: ryankert01 <[email protected]>
* Batch Throughput Signed-off-by: 400Ping <[email protected]> * fix Signed-off-by: 400Ping <[email protected]> * [chore] add comment Signed-off-by: 400Ping <[email protected]> --------- Signed-off-by: 400Ping <[email protected]>
* gracefully handles OOM Signed-off-by: 400Ping <[email protected]> * fix Signed-off-by: 400Ping <[email protected]> --------- Signed-off-by: 400Ping <[email protected]>
* add a fidelity test * fix format * reformat * effectively zero
* improve amplitudeEncoders for less copy memory allocations * Fix: apply pre-commit end-of-file-fixer * use pre-processing module
Updated build instructions to include Python 3.11 environment setup.
) * [QDP] [Benchmark] Add a End-to-End benchmark to compare with speed * [QDP] improve memory management * Revert "[QDP] improve memory management" This reverts commit d909f3d.
* [QDP] Add batch encoding support * Refactor batch pre-processing
* Add Arrow IPC support * Update default frameworks to "mahout-parquet" * Add tests for Arrow IPC * Add todo to prevent oom * Add TODO for supporting multiple float types
Co-Authored-By: Ping <[email protected]>
* GPU/Cuda kernel Optimizations Signed-off-by: 400Ping <[email protected]> * fix Signed-off-by: 400Ping <[email protected]> --------- Signed-off-by: 400Ping <[email protected]>
* improve e2e benchmark * gc.coolect first
* Set float32 to default Signed-off-by: 400Ping <[email protected]> * fix errors Signed-off-by: 400Ping <[email protected]> * fix python bindings Signed-off-by: 400Ping <[email protected]> * [chore] update log Signed-off-by: 400Ping <[email protected]> --------- Signed-off-by: 400Ping <[email protected]>
Signed-off-by: 400Ping <[email protected]>
* DataLoader-Benchmark Signed-off-by: 400Ping <[email protected]> * update output Signed-off-by: 400Ping <[email protected]> * update Signed-off-by: 400Ping <[email protected]> * [Fix] Remove print in Qiskit Signed-off-by: 400Ping <[email protected]> * fix Signed-off-by: 400Ping <[email protected]> * fix pre-commit Signed-off-by: 400Ping <[email protected]> * [QDP] improve memory management * fix pre-commit Signed-off-by: 400Ping <[email protected]> * update doc Signed-off-by: 400Ping <[email protected]> * update doc Signed-off-by: 400Ping <[email protected]> * improve memory usage * improve pool * improve for memory * fix back * merge and improve * fix error * memory release * follow suggestions * Address reviewer feedback: safety checks, error handling, and code cleanup * Revert e2e Benchmark * refactor ffi * remove redundant check * fix error --------- Signed-off-by: 400Ping <[email protected]> Co-authored-by: 400Ping <[email protected]>
* docs: add development guide * refactor: precommit * docs: add dev container in DEVELOPMENT * docs: add more troubleshooting
* [QDP] Fix DLPack device_id hardcoding# Please enter the commit message for your changes. Lines starting * update and move comments position * improve the test
* float32 follow up Signed-off-by: 400Ping <[email protected]> * update Signed-off-by: 400Ping <[email protected]> --------- Signed-off-by: 400Ping <[email protected]>
* refactor: benchmark/ move into qdp-python/ * build: add benchmark group in pyproject.toml * build+docs: add make commands and update development docs * build+docs: add profiling make command and docs * fix: unit_test command to test_ * build: update e2e test and profile * docs: update development docs
* colab benchmark * add link * add link * update with colab badge * precommit * renamed folder name to notebooks * update link
* add rust linter * pre-commit Signed-off-by: Hsien-Cheng Huang <[email protected]> --------- Signed-off-by: Hsien-Cheng Huang <[email protected]>
* update link and position * update file position and cleanup script * colab link update
Signed-off-by: 400Ping <[email protected]>
* feat: use rust hook for precommit * Refactor clippy hook in .pre-commit-config.yaml Updated clippy hook configuration in pre-commit. * run linter
* feat: [QDP] PyTorch Tensor Detection and CPU Path Signed-off-by: Cheyu Wu <[email protected]> * style: fix linter issue Signed-off-by: Cheyu Wu <[email protected]> * style: linter err Signed-off-by: Cheyu Wu <[email protected]> * doc: add comment for followup pr Signed-off-by: Cheyu Wu <[email protected]> * revert: ipynb linter fix Signed-off-by: Cheyu Wu <[email protected]> --------- Signed-off-by: Cheyu Wu <[email protected]>
…751) * Double-buffered async I/O for read_parquet_batch Signed-off-by: 400Ping <[email protected]> * update Signed-off-by: 400Ping <[email protected]> * fix python binding error Signed-off-by: 400Ping <[email protected]> * update Signed-off-by: 400Ping <[email protected]> * update Signed-off-by: 400Ping <[email protected]> * update Signed-off-by: 400Ping <[email protected]> * update Signed-off-by: 400Ping <[email protected]> * update Signed-off-by: 400Ping <[email protected]> * fix build error Signed-off-by: 400Ping <[email protected]> * Revert "fix build error" This reverts commit 3556b5a. * fix build errors Signed-off-by: 400Ping <[email protected]> * update unit test and boundary check Signed-off-by: 400Ping <[email protected]> * remove improvement 2 Signed-off-by: 400Ping <[email protected]> * fix qdp-core error Signed-off-by: 400Ping <[email protected]> * fix pre-commit Signed-off-by: 400Ping <[email protected]> * [Fix] fix pre-commit errors & warnings Signed-off-by: 400Ping <[email protected]> * fix rust linters Signed-off-by: 400Ping <[email protected]> * [Fix] handle buffer pool lock poisoning Signed-off-by: 400Ping <[email protected]> * [Chore] fix rust linters Signed-off-by: 400Ping <[email protected]> * update Signed-off-by: 400Ping <[email protected]> * Remove unused func Signed-off-by: 400Ping <[email protected]> * update Signed-off-by: 400Ping <[email protected]> --------- Signed-off-by: 400Ping <[email protected]>
* feat: add numpy as reader * add benchmark
|
#790 fixed the pre-commit issue |
|
Cherry-picked #790 to preserve the sequential branch and avoid rebasing it. |
* The Scaling Test (Latency vs. Qubits) Signed-off-by: 400Ping <[email protected]> * fix pre-commit Signed-off-by: 400Ping <[email protected]> * [Chore] make initialization clearer & clearfy doc Signed-off-by: 400Ping <[email protected]> --------- Signed-off-by: 400Ping <[email protected]>
Signed-off-by: Hsien-Cheng Huang <[email protected]>
* [Core] Update throughput benchmark to batch encoding Signed-off-by: 400Ping <[email protected]> * fix conflict Signed-off-by: 400Ping <[email protected]> --------- Signed-off-by: 400Ping <[email protected]>
| ## Biweekly Community Meeting | ||
| Apache Mahout is committed to work consistently and conducts its meetings once in two weeks. To get invovled, you can access the link here. The meeting timings are communicated via official slack channel. | ||
| Apache Mahout is committed to work consistently and conducts its meetings once in two weeks. To get invovled, you can access the link here. The meeting timings are communicated via official slack channel. | ||
| [Meeting Link](https://meet.google.com/hjo-njer-hzw?authuser=0&hs=122&ijlm=1767371505662&pli=1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Maybe changing this to subscribe to Mahout Google calendar.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, let's do it in another pr
|
I’ve tested and verified all qdp features, and I believe this is ready to be merged into main. If any refinements are needed for QDP in the future, please open a PR targeting main. |
|
Nice |
Purpose of PR
Initiate QDP project
Related Issues or PRs
Changes Made
Breaking Changes
Checklist