You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: js/llama_webgpu_bridge.js
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1508,10 +1508,12 @@ class LlamaWebGpuBridgeRuntime {
1508
1508
return;
1509
1509
}
1510
1510
1511
-
this._emitLogger(
1512
-
'warn',
1513
-
`warning: suppressed ${this._suppressedWarmupWarningCount} verbose warmup log lines (set bridge/runtime log level to Info or Debug to inspect full warmup trace).`,
1514
-
);
1511
+
if(this._logLevel<=2){
1512
+
this._emitLogger(
1513
+
'log',
1514
+
`info: suppressed ${this._suppressedWarmupWarningCount} verbose warmup log lines (set bridge/runtime log level to Debug to inspect full warmup trace).`,
1515
+
);
1516
+
}
1515
1517
this._suppressedWarmupWarningCount=0;
1516
1518
}
1517
1519
@@ -2735,10 +2737,12 @@ class LlamaWebGpuBridgeRuntime {
2735
2737
this._suppressedWarmupWarningCount+=1;
2736
2738
if(!this._didReportWarmupWarningSuppression){
2737
2739
this._didReportWarmupWarningSuppression=true;
2738
-
this._emitLogger(
2739
-
'warn',
2740
-
'warning: suppressing verbose warmup op logs at WARN level. Set bridge/runtime log level to Info or Debug to inspect all warmup details.',
2741
-
);
2740
+
if(this._logLevel<=2){
2741
+
this._emitLogger(
2742
+
'log',
2743
+
'info: suppressing verbose warmup op logs; set bridge/runtime log level to Debug to inspect all warmup details.',
0 commit comments