You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improvement cuStabilizer DEM sampling backend and consolidate tests (#32)
* Make cuStabilizer the sole DEM sampling backend and consolidate tests
Remove the torch fallback path from dem_sampling.py — cuquantum's
BitMatrixSampler is now the only sampling backend, simplifying the
module and eliminating the USE_CUSTAB toggle. The sampler cache uses
identity-based comparison with a pre-cached transpose to avoid
redundant reallocation.
Merge test_dem_sampling_custab.py and test_dem_sampling_integration.py
into test_dem_sampling.py for a single, comprehensive test suite.
Also:
- Add cuquantum>=26.3.0 to requirements_public_train.txt
- Fix CI to install train (not inference) requirements for GPU tests
- Apply yapf formatting (Google style, 100-col limit)
Signed-off-by: kvmto <kmato@nvidia.com>
* fixed license
Signed-off-by: kvmto <kmato@nvidia.com>
* fix: use cuquantum-python-cu12 wheel to avoid pkg_resources build failure
The cuquantum meta-package fails to build in environments where
pkg_resources is unavailable. Pin the CUDA-12 specific wheel directly
to bypass the broken auto-detection setup.py.
Signed-off-by: kvmto <kmato@nvidia.com>
* lazy imports for safe separation between training and inference
Signed-off-by: kvmto <kmato@nvidia.com>
* quick fix to CI
Signed-off-by: kvmto <kmato@nvidia.com>
* route cuQuantum dem_sampling tests to GPU CI
Signed-off-by: kvmto <kmato@nvidia.com>
* left behind change
Signed-off-by: kvmto <kmato@nvidia.com>
* missing bash session
Signed-off-by: kvmto <kmato@nvidia.com>
* Make CUDA major version specific requirements files and use custabilizer-cuXY
* Revert some changes to test files that are hopefully no longer needed
* Revert REQUIRE_CUQUANTUM changes
* Change custabilizer version to 0.3.0
* Change custabilizer back to cuquantum-python
* Skip test_dem_sampling.py if required deps are not present
* Try again
* Skip a few more tests if cuquantum-python not installed
* Revert CUDA major version specific requirements files
Since custabilizer-cuXY is not a viable standalone package, there is no
need to try to make CUDA major version specific files. Rather, we just
rely on the auto detection logic in cuquantum-python.
* Revert "Revert CUDA major version specific requirements files"
This reverts commit ce055a2.
* small torch device object bug fix for nccl
Signed-off-by: kvmto <kmato@nvidia.com>
* overcome custab device id limitation
Signed-off-by: kvmto <kmato@nvidia.com>
* added tiny logging
Signed-off-by: kvmto <kmato@nvidia.com>
* linted
Signed-off-by: kvmto <kmato@nvidia.com>
* Revert "Revert "Revert CUDA major version specific requirements files""
This reverts commit 05e92f8.
* Revert "Revert "Revert "Revert CUDA major version specific requirements files"""
This reverts commit 84c814b.
---------
Signed-off-by: kvmto <kmato@nvidia.com>
Co-authored-by: Ben Howe <bhowe@nvidia.com>
0 commit comments