Browse Source

debug

pull/720/head
Rinne 1 year ago
parent
commit
fbe4fd4ea1
No known key found for this signature in database GPG Key ID: E86D01E1809BD23E
2 changed files with 4 additions and 2 deletions
  1. +1
    -0
      LLama.Benchmark/LLama.Benchmark.csproj
  2. +3
    -2
      LLama.Benchmark/LLamaExecutorBenchmark/Prefill.cs

+ 1
- 0
LLama.Benchmark/LLama.Benchmark.csproj View File

@@ -11,6 +11,7 @@

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.13.12" />
</ItemGroup>

<ItemGroup>


+ 3
- 2
LLama.Benchmark/LLamaExecutorBenchmark/Prefill.cs View File

@@ -11,13 +11,14 @@ using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Jobs;
using LLama.Abstractions;
using LLama.Common;
using BenchmarkDotNet.Diagnostics.Windows.Configs;

namespace LLama.Benchmark.LLamaExecutorBenchmark
{
#if WINDOWS
[BenchmarkDotNet.Diagnostics.Windows.Configs.NativeMemoryProfiler]
#endif
[BenchmarkCategory("Executor", "LLama")]
[SimpleJob(RunStrategy.ColdStart, runtimeMoniker: RuntimeMoniker.Net80)]
[NativeMemoryProfiler]
[MemoryDiagnoser]
[MinIterationCount(1)]
[MaxIterationCount(16)]


Loading…
Cancel
Save