Description
This issue is meant to track the possibility of some workaround to get QE to be optional at run time, as opposed to construction time (skip-cost= true
).
Trace:
skip-cost
:
marian-dev/src/translator/scorers.cpp
Lines 41 to 43 in 08b1544
createModelFromOptions
:
marian-dev/src/models/model_factory.cpp
Lines 370 to 376 in 08b1544
StepWise
:
Lines 309 to 313 in 08b1544
StepWise
Relevant call site:
Lines 360 to 369 in 08b1544
If I insert a bool skipCost
defaulting to false as part of the arguments here and ignore the cost operation if skipCost=true
and trigger the param via beamsearch (see below), there is a possibility?
Call-site:
marian-dev/src/translator/beam_search.cpp
Line 421 in 08b1544
marian-dev/src/translator/scorers.h
Lines 129 to 138 in 08b1544