mirror of
https://github.com/AIDotNet/AntSK.git
synced 2026-02-17 14:06:11 +08:00
fix 修改gpu默认分层为20
This commit is contained in:
@@ -31,7 +31,7 @@ namespace AntSK.Domain.Domain.Other
|
|||||||
{
|
{
|
||||||
ContextSize = lsConfig?.ContextSize ?? 2048,
|
ContextSize = lsConfig?.ContextSize ?? 2048,
|
||||||
Seed = lsConfig?.Seed ?? 0,
|
Seed = lsConfig?.Seed ?? 0,
|
||||||
GpuLayerCount = lsConfig?.GpuLayerCount ?? 10,
|
GpuLayerCount = lsConfig?.GpuLayerCount ?? 20,
|
||||||
EmbeddingMode = true
|
EmbeddingMode = true
|
||||||
};
|
};
|
||||||
var weights = LLamaWeights.LoadFromFile(parameters);
|
var weights = LLamaWeights.LoadFromFile(parameters);
|
||||||
|
|||||||
Reference in New Issue
Block a user