diff --git a/hermes/deploy.ps1 b/hermes/deploy.ps1 index 329f4b3..dceb8f6 100644 --- a/hermes/deploy.ps1 +++ b/hermes/deploy.ps1 @@ -131,12 +131,12 @@ $HfUrls = @( 'https://huggingface.co/bartowski/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_M.gguf', 'https://huggingface.co/unsloth/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_M.gguf' ) +Info 'Descargando modelo de IA (llama3.2:3b, ~2 GB)...' foreach ($Url in $HfUrls) { - Info 'Descargando modelo de IA (llama3.2:3b, ~2 GB)...' - curl.exe -sL --retry 3 --max-time 1800 -o "$Gguf" $Url + curl.exe -# -L --retry 3 --max-time 1800 -o "$Gguf" $Url if ($LASTEXITCODE -eq 0 -and (Test-Path $Gguf) -and (Get-Item $Gguf).Length -gt 1900000000) { break } - Warn "Mirror no accesible, probando el siguiente..." Remove-Item "$Gguf" -Force -ErrorAction SilentlyContinue + if ($Url -ne $HfUrls[-1]) { Warn 'Mirror no accesible, probando el siguiente...' } } if ((Test-Path $Gguf) -and (Get-Item $Gguf).Length -gt 1900000000) { Info 'Importando modelo en Ollama...' diff --git a/openclaw/deploy.ps1 b/openclaw/deploy.ps1 index c458b57..8d6d9e5 100644 --- a/openclaw/deploy.ps1 +++ b/openclaw/deploy.ps1 @@ -131,12 +131,12 @@ $HfUrls = @( 'https://huggingface.co/bartowski/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_M.gguf', 'https://huggingface.co/unsloth/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_M.gguf' ) +Info 'Descargando modelo de IA (llama3.2:3b, ~2 GB)...' foreach ($Url in $HfUrls) { - Info 'Descargando modelo de IA (llama3.2:3b, ~2 GB)...' - curl.exe -sL --retry 3 --max-time 1800 -o "$Gguf" $Url + curl.exe -# -L --retry 3 --max-time 1800 -o "$Gguf" $Url if ($LASTEXITCODE -eq 0 -and (Test-Path $Gguf) -and (Get-Item $Gguf).Length -gt 1900000000) { break } - Warn "Mirror no accesible, probando el siguiente..." Remove-Item "$Gguf" -Force -ErrorAction SilentlyContinue + if ($Url -ne $HfUrls[-1]) { Warn 'Mirror no accesible, probando el siguiente...' } } if ((Test-Path $Gguf) -and (Get-Item $Gguf).Length -gt 1900000000) { Info 'Importando modelo en Ollama...' diff --git a/openwebui/deploy.ps1 b/openwebui/deploy.ps1 index 6e8a72c..6ffd442 100644 --- a/openwebui/deploy.ps1 +++ b/openwebui/deploy.ps1 @@ -148,12 +148,12 @@ $HfUrls = @( 'https://huggingface.co/bartowski/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_M.gguf', 'https://huggingface.co/unsloth/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_M.gguf' ) +Info 'Descargando modelo de IA (llama3.2:3b, ~2 GB)...' foreach ($Url in $HfUrls) { - Info 'Descargando modelo de IA (llama3.2:3b, ~2 GB)...' - curl.exe -sL --retry 3 --max-time 1800 -o "$Gguf" $Url + curl.exe -# -L --retry 3 --max-time 1800 -o "$Gguf" $Url if ($LASTEXITCODE -eq 0 -and (Test-Path $Gguf) -and (Get-Item $Gguf).Length -gt 1900000000) { break } - Warn "Mirror no accesible, probando el siguiente..." Remove-Item "$Gguf" -Force -ErrorAction SilentlyContinue + if ($Url -ne $HfUrls[-1]) { Warn 'Mirror no accesible, probando el siguiente...' } } if ((Test-Path $Gguf) -and (Get-Item $Gguf).Length -gt 1900000000) { Info 'Importando modelo en Ollama...' diff --git a/wordpress/deploy.ps1 b/wordpress/deploy.ps1 index 860c7c1..c18302c 100644 --- a/wordpress/deploy.ps1 +++ b/wordpress/deploy.ps1 @@ -184,12 +184,12 @@ $HfUrls = @( 'https://huggingface.co/bartowski/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_M.gguf', 'https://huggingface.co/unsloth/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_M.gguf' ) +Info 'Descargando modelo de IA (llama3.2:3b, ~2 GB)...' foreach ($Url in $HfUrls) { - Info 'Descargando modelo de IA (llama3.2:3b, ~2 GB)...' - curl.exe -sL --retry 3 --max-time 1800 -o "$Gguf" $Url + curl.exe -# -L --retry 3 --max-time 1800 -o "$Gguf" $Url if ($LASTEXITCODE -eq 0 -and (Test-Path $Gguf) -and (Get-Item $Gguf).Length -gt 1900000000) { break } - Warn "Mirror no accesible, probando el siguiente..." Remove-Item "$Gguf" -Force -ErrorAction SilentlyContinue + if ($Url -ne $HfUrls[-1]) { Warn 'Mirror no accesible, probando el siguiente...' } } if ((Test-Path $Gguf) -and (Get-Item $Gguf).Length -gt 1900000000) { Info 'Importando modelo en Ollama...'