From a690db5d3e3b16ce4484b00ed44ed6c3c01ab68f Mon Sep 17 00:00:00 2001 From: Martin Evans Date: Tue, 23 Jan 2024 15:09:20 +0000 Subject: [PATCH] Fixed build error caused by extra unnecessary parameter --- LLama/LLamaStatelessExecutor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LLama/LLamaStatelessExecutor.cs b/LLama/LLamaStatelessExecutor.cs index 0587f148..b18f36c1 100644 --- a/LLama/LLamaStatelessExecutor.cs +++ b/LLama/LLamaStatelessExecutor.cs @@ -40,7 +40,7 @@ namespace LLama _weights = weights; _params = @params; _logger = logger; - _batch = new LLamaBatch(1); + _batch = new LLamaBatch(); Context = _weights.CreateContext(_params, logger); Context.Dispose();