We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac3d6cd commit 8b95f5bCopy full SHA for 8b95f5b
1 file changed
src/bindings/Llama.ts
@@ -670,7 +670,7 @@ function logMessageIsOnlyDots(message: string | null) {
670
}
671
672
function getTransformedLogLevel(level: LlamaLogLevel, message: string, gpu: BuildGpu): LlamaLogLevel {
673
- if (level === LlamaLogLevel.warn && message.trimEnd().endsWith("the full capacity of the model will not be utilized"))
+ if (level === LlamaLogLevel.warn && message.endsWith("the full capacity of the model will not be utilized"))
674
return LlamaLogLevel.info;
675
else if (level === LlamaLogLevel.warn && message.startsWith("ggml_metal_init: skipping kernel_") && message.endsWith("(not supported)"))
676
return LlamaLogLevel.log;
0 commit comments