``DWaveCliqueSampler()`` initial embedding slower than I expected
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- performance
Research direction
Start with the DWaveCliqueSampler() initialization path and reproduce the reported timeit measurements on Advantage_system4.1 and Advantage_system6.4 under the listed operating systems. Compare where initialization time is spent, especially for the reported 175–177-node cliques; done means the discrepancy is explained and any unintended slowdown is addressed.
Written by the indexing model from the issue text.
Description
Description
This might be a local problem with my system getting old but the initial embedding is taking quite a lot longer than I would have expected, especially on Win OS. In the past it took a couple of minutes, now it is over 5 minutes.
Just raising this in case some change has inadvertently slowed this down.
To Reproduce
Win OS:
>>> timeit.timeit('from dwave.system import DWaveCliqueSampler; qpu = DWaveCliqueSampler(solver="Advantage_system4.1"); print(qpu.child.solver.name); print(qpu.largest_clique_size)', number=1)
Advantage_system4.1
177
Out[18]: 402.3655947998632
>>> timeit.timeit('from dwave.system import DWaveCliqueSampler; qpu = DWaveCliqueSampler(solver="Advantage_system6
...: .4"); print(qpu.child.solver.name); print(qpu.largest_clique_size)', number=1)
Advantage_system6.4
175
Out[19]: 51.09168740012683
Unix:
>>> timeit.timeit('from dwave.system import DWaveCliqueSampler; qpu = DWaveCliqueSampler(solver="Advantage_system4.1"); print(qpu.child.solver.name); print(qpu.largest_clique_size)', number=1)
Advantage_system4.1
177
Out[16]: 224.93166744199698
Expected behavior
I remember a couple of minutes and see here 152 seconds on Pegasus (which I am guessing was also Advantage_system4 but am not sure)
Environment:
- OS: Ubuntu 24, and Win 10
- Python version: 3.12
Additional context
Note the large difference between Advantage_system4 and Advantage_system6, perhaps the time is going on the cliques for 176 & 177 nodes?
- Dominant language
- Python
- Stars
- 53
- Forks
- 48
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dwavesystems/minorminer
-
Not compatible with cmake-4.5Possibly taken @andrfud claimed this 30 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
dwavesystems/minorminer#298 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
dwavesystems/minorminer#284 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
dwavesystems/minorminer#282 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dwavesystems/minorminer#279 · 1 comment ·
-
cpp tests not run on ciPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
dwavesystems/minorminer#269 ·
All issues in dwavesystems/minorminer
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
521xueweihan/HelloGitHub#4729 ·
-
auto-reported bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
needs-triage type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
pollen-robotics/reachy_mini_conversation_app#631 ·
Maintainers usually reply within 7 days
-
stix-atlas.json: the same relationship id is used for several different mitigates relationshipsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100