EngineConfig constructor
const
EngineConfig({})
Creates an engine configuration.
Implementation
const EngineConfig({
required this.modelPath,
this.backend = const Backend.cpu(),
this.visionBackend,
this.audioBackend,
this.maxNumTokens,
this.maxNumImages,
this.cacheDir,
this.loraRank,
this.audioLoraRank,
this.enableBenchmark = false,
});