Skip to content

timeout measures warmup (eliminating many of the reasons to use timeout) #368

@willow-ahrens

Description

@willow-ahrens

The issue is with these lines here:

start_time = Base.time()
trial = Trial(params)
if warmup
b.samplefunc(b.quote_vals, Parameters(params; evals=1)) #warmup sample
end

The problem is that we time out if the warmup takes a long time, because we start the clock before the warmup

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