fix: limite de CPU 6.0 para ollama (#25)
Co-authored-by: Hermes Agent <hermes@d0a1.es>
This commit was merged in pull request #25.
This commit is contained in:
1 parent
5030770bc2
commit
9438b75c9f
4 files changed
+4
-2
No files matched your search
+1
-1
@@ -117,7 +117,7 @@ $running = docker ps --format '{{.Names}}' | Select-String -Quiet 'd0a1-hermes-o
|
||||
if (-not $running) {
|
||||
$GpuArgs = @()
|
||||
if ($HasGpu) { $GpuArgs = @('--gpus', 'all') }
|
||||
docker run -d --name d0a1-hermes-ollama --memory 6g @GpuArgs `
|
||||
docker run -d --name d0a1-hermes-ollama --memory 6g --cpus 6.0 @GpuArgs `
|
||||
-p "${OllamaPort}:11434" `
|
||||
-v d0a1_hermes_ollama:/root/.ollama `
|
||||
-e OLLAMA_HOST=0.0.0.0 `
|
||||
|
||||
Reference in new issue
Block a user