Searched refs:benchmarkModel (Results 1 – 4 of 4) sorted by relevance
/external/executorch/examples/demo-apps/android/LlamaDemo/app/src/main/java/com/example/executorchllamademo/ |
D | LlmBenchmarkRunner.java | 98 final BenchmarkMetric.BenchmarkModel benchmarkModel = in onGenerationStopped() local 103 results.add(new BenchmarkMetric(benchmarkModel, "load_status", mStatsDump.loadStatus, 0)); in onGenerationStopped() 107 benchmarkModel, in onGenerationStopped() 114 benchmarkModel, in onGenerationStopped() 120 new BenchmarkMetric(benchmarkModel, "token_per_sec", extractTPS(mStatsDump.tokens), 0.0f)); in onGenerationStopped() 154 BenchmarkModel benchmarkModel; field in BenchmarkMetric 176 final BenchmarkModel benchmarkModel, in BenchmarkMetric() argument 180 this.benchmarkModel = benchmarkModel; in BenchmarkMetric()
|
/external/executorch/extension/benchmark/android/benchmark/app/src/main/java/org/pytorch/minibench/ |
D | BenchmarkMetric.java | 30 BenchmarkModel benchmarkModel; field in BenchmarkMetric 52 final BenchmarkModel benchmarkModel, in BenchmarkMetric() argument 56 this.benchmarkModel = benchmarkModel; in BenchmarkMetric()
|
D | LlmBenchmarkActivity.java | 90 final BenchmarkMetric.BenchmarkModel benchmarkModel = in onGenerationStopped() local 95 results.add(new BenchmarkMetric(benchmarkModel, "load_status", mStatsInfo.loadStatus, 0)); in onGenerationStopped() 99 benchmarkModel, in onGenerationStopped() 106 benchmarkModel, in onGenerationStopped() 112 new BenchmarkMetric(benchmarkModel, "token_per_sec", extractTPS(mStatsInfo.tokens), 0.0f)); in onGenerationStopped()
|
D | BenchmarkActivity.java | 73 final BenchmarkMetric.BenchmarkModel benchmarkModel = in onCreate() local 80 benchmarkModel, in onCreate() 87 benchmarkModel, in onCreate() 92 results.add(new BenchmarkMetric(benchmarkModel, "load_status", stats.errorCode, 0)); in onCreate()
|