-
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 <ryankert01@gmail.com> --------- Co-authored-by: Ryan Huang <ryankert01@gmail.com>
* add nvtx and some comments * Update qdp/docs/observability/NVTX_USAGE.md Co-authored-by: Ryan Huang <ryankert01@gmail.com> * 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 <ryankert01@gmail.com>
* add preprocessing module * Remove unused import of Cow
Signed-off-by: 400Ping <fourhundredping@gmail.com>
* 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 <ryan980053@gmail.com> * 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 <ryan980053@gmail.com> * add docker dev containe Signed-off-by: ryankert01 <ryan980053@gmail.com> * delete unrelated strings Signed-off-by: ryankert01 <ryan980053@gmail.com> * delete unrelated strings Signed-off-by: ryankert01 <ryan980053@gmail.com> --------- Signed-off-by: ryankert01 <ryan980053@gmail.com>
* Batch Throughput Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix Signed-off-by: 400Ping <fourhundredping@gmail.com> * [chore] add comment Signed-off-by: 400Ping <fourhundredping@gmail.com> --------- Signed-off-by: 400Ping <fourhundredping@gmail.com>
* gracefully handles OOM Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix Signed-off-by: 400Ping <fourhundredping@gmail.com> --------- Signed-off-by: 400Ping <fourhundredping@gmail.com>
* 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 <fourhundredping@gmail.com>
* GPU/Cuda kernel Optimizations Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix Signed-off-by: 400Ping <fourhundredping@gmail.com> --------- Signed-off-by: 400Ping <fourhundredping@gmail.com>
* improve e2e benchmark * gc.coolect first
* Set float32 to default Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix errors Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix python bindings Signed-off-by: 400Ping <fourhundredping@gmail.com> * [chore] update log Signed-off-by: 400Ping <fourhundredping@gmail.com> --------- Signed-off-by: 400Ping <fourhundredping@gmail.com>
Signed-off-by: 400Ping <fourhundredping@gmail.com>
* DataLoader-Benchmark Signed-off-by: 400Ping <fourhundredping@gmail.com> * update output Signed-off-by: 400Ping <fourhundredping@gmail.com> * update Signed-off-by: 400Ping <fourhundredping@gmail.com> * [Fix] Remove print in Qiskit Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix pre-commit Signed-off-by: 400Ping <fourhundredping@gmail.com> * [QDP] improve memory management * fix pre-commit Signed-off-by: 400Ping <fourhundredping@gmail.com> * update doc Signed-off-by: 400Ping <fourhundredping@gmail.com> * update doc Signed-off-by: 400Ping <fourhundredping@gmail.com> * 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 <fourhundredping@gmail.com> Co-authored-by: 400Ping <fourhundredping@gmail.com>
* 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 <fourhundredping@gmail.com> * update Signed-off-by: 400Ping <fourhundredping@gmail.com> --------- Signed-off-by: 400Ping <fourhundredping@gmail.com>
* 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 <ryankert01@gmail.com> --------- Signed-off-by: Hsien-Cheng Huang <ryankert01@gmail.com>
* update link and position * update file position and cleanup script * colab link update
Signed-off-by: 400Ping <fourhundredping@gmail.com>
* 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 <cheyu1220@gmail.com> * style: fix linter issue Signed-off-by: Cheyu Wu <cheyu1220@gmail.com> * style: linter err Signed-off-by: Cheyu Wu <cheyu1220@gmail.com> * doc: add comment for followup pr Signed-off-by: Cheyu Wu <cheyu1220@gmail.com> * revert: ipynb linter fix Signed-off-by: Cheyu Wu <cheyu1220@gmail.com> --------- Signed-off-by: Cheyu Wu <cheyu1220@gmail.com>
…751) * Double-buffered async I/O for read_parquet_batch Signed-off-by: 400Ping <fourhundredping@gmail.com> * update Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix python binding error Signed-off-by: 400Ping <fourhundredping@gmail.com> * update Signed-off-by: 400Ping <fourhundredping@gmail.com> * update Signed-off-by: 400Ping <fourhundredping@gmail.com> * update Signed-off-by: 400Ping <fourhundredping@gmail.com> * update Signed-off-by: 400Ping <fourhundredping@gmail.com> * update Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix build error Signed-off-by: 400Ping <fourhundredping@gmail.com> * Revert "fix build error" This reverts commit 3556b5a. * fix build errors Signed-off-by: 400Ping <fourhundredping@gmail.com> * update unit test and boundary check Signed-off-by: 400Ping <fourhundredping@gmail.com> * remove improvement 2 Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix qdp-core error Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix pre-commit Signed-off-by: 400Ping <fourhundredping@gmail.com> * [Fix] fix pre-commit errors & warnings Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix rust linters Signed-off-by: 400Ping <fourhundredping@gmail.com> * [Fix] handle buffer pool lock poisoning Signed-off-by: 400Ping <fourhundredping@gmail.com> * [Chore] fix rust linters Signed-off-by: 400Ping <fourhundredping@gmail.com> * update Signed-off-by: 400Ping <fourhundredping@gmail.com> * Remove unused func Signed-off-by: 400Ping <fourhundredping@gmail.com> * update Signed-off-by: 400Ping <fourhundredping@gmail.com> --------- Signed-off-by: 400Ping <fourhundredping@gmail.com>
* 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 <fourhundredping@gmail.com> * fix pre-commit Signed-off-by: 400Ping <fourhundredping@gmail.com> * [Chore] make initialization clearer & clearfy doc Signed-off-by: 400Ping <fourhundredping@gmail.com> --------- Signed-off-by: 400Ping <fourhundredping@gmail.com>
Signed-off-by: Hsien-Cheng Huang <ryankert01@gmail.com>
* [Core] Update throughput benchmark to batch encoding Signed-off-by: 400Ping <fourhundredping@gmail.com> * fix conflict Signed-off-by: 400Ping <fourhundredping@gmail.com> --------- Signed-off-by: 400Ping <fourhundredping@gmail.com>
| ## 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