Skip to content

Commit 92e00b9

Browse files
committed
Cleaned console logs
1 parent 2af2b16 commit 92e00b9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/engine.ts

-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,6 @@ export class MLCEngine implements MLCEngineInterface {
456456
if (genConfig !== undefined) {
457457
postInitAndCheckGenerationConfigValues(genConfig);
458458
}
459-
console.log("prefill in _generate, input: ", input);
460459
await this.prefill(input, pipeline, chatConfig, genConfig);
461460

462461
while (!pipeline.stopped()) {

src/llm_chat.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ export class LLMChatPipeline {
674674
this.tvm.endScope();
675675
} else if (seqID !== 0) {
676676
// If no match is found, add the new sequence to the KV cache
677-
console.log("Adding new sequence to KV cache: ", seqID);
677+
console.log("Adding prefix to KV cache: ", seqID);
678678
this.fKVCacheAddSequence!(this.kvCache, new tvmjs.Scalar(seqID, "int64"));
679679
}
680680

0 commit comments

Comments
 (0)