Skip to content

ML Training step fails to complete #517

@bachase

Description

@bachase

System and Environment Information

Running on mac os 15.6.1, python version 3.13.0 and mqt-predictor version 2.3.0

Bug Description

I'm following the framework setup section in the documentation. I was able to run Step 2 (RL training) in about 4 hours on my M4 Pro, using 50k timesteps for IBM Falcon 27.

For Step 3, I've been running the code for several hours but am not able to tell the progress in the ML training phase. Is there a way to assess the progress? Is there an estimate of how long it should take?

You can look at this log for output from my run before I killed the process. It looks like a call to bqskit is timing out, and then later on, it looks like some subprocesses may not be handling signals properly and lingering.

Steps to Reproduce

  1. Setup environment with uv init and uv add mqt.predictor
  2. Follow the steps in https://mqt.readthedocs.io/projects/predictor/en/latest/setup.html
  3. For step 3, run:
from mqt.predictor.ml import setup_device_predictor
from mqt.bench.targets import get_device

devices = [get_device("ibm_falcon_27")]
setup_device_predictor(
    devices=devices,
    figure_of_merit="expected_fidelity",
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions