diff --git a/LLama.Unittest/LLamaEmbedderTests.cs b/LLama.Unittest/LLamaEmbedderTests.cs index 4c2bc8ab..43de46f9 100644 --- a/LLama.Unittest/LLamaEmbedderTests.cs +++ b/LLama.Unittest/LLamaEmbedderTests.cs @@ -10,21 +10,6 @@ public sealed class LLamaEmbedderTests public LLamaEmbedderTests(ITestOutputHelper testOutputHelper) { _testOutputHelper = testOutputHelper; - - var @params = new ModelParams(Constants.EmbeddingModelPath) - { - ContextSize = 4096, - Threads = 5, - Embeddings = true, - GpuLayerCount = Constants.CIGpuLayerCount, - }; - using var weights = LLamaWeights.LoadFromFile(@params); - _embedder = new(weights, @params); - } - - public void Dispose() - { - _embedder.Dispose(); } private static float Dot(float[] a, float[] b)