Skip to content

Issue with runtime_observation_count #756

@lqwk

Description

@lqwk

❓ Questions and Help

As mentioned in our previous communications, I tried adding debugging logs into the code to print out the runtime_observation_count and corresponding callstacks to debug why we are seeing only 1 observation for starting runtimes.

See the debug logs in this branch.

Repro

The command I tested this with is:

python -m llvm_autotuning.tune -m \
    experiment=my-exp \
    outputs=/tmp/logs \
    executor.cpus=32 \
    num_replicas=1 \
    autotuner=nevergrad \
    autotuner.optimization_target=runtimeseries \
    autotuner.search_time_seconds=120 \
    benchmarks=single_benchmark_for_testing

and I got the following logs

Details

  • I verified that the runtime_observation_count is setup properly when we create the optimization target: debug logs

  • I saw that the previous_runtimes had a correct number of observations of 30 but during reset, the observation count was 1: debug logs and I couldn't figure out why.

  • I also saw that there was a time when the runtime_observation_count was set to 1: debug logs. The logs of the corresponding callstack is also printed here.

Metadata

Metadata

Assignees

Labels

QuestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions