fix: model repo subdir layout, no-window engine launch, deploy progress, engine path auto-repair
This commit is contained in:
@@ -12,7 +12,10 @@ New-Item -ItemType Directory -Force -Path $OutDir | Out-Null
|
||||
|
||||
$modelPath = "Qwen/Qwen2.5-0.5B-Instruct-GGUF/resolve/main/qwen2.5-0.5b-instruct-q4_k_m.gguf"
|
||||
$url = "$Endpoint/$modelPath"
|
||||
$outFile = Join-Path $OutDir "qwen2.5-0.5b-instruct-q4_k_m.gguf"
|
||||
$rel = "Qwen/Qwen2.5-0.5B-Instruct-GGUF"
|
||||
$targetDir = Join-Path $OutDir $rel
|
||||
New-Item -ItemType Directory -Force -Path $targetDir | Out-Null
|
||||
$outFile = Join-Path $targetDir "qwen2.5-0.5b-instruct-q4_k_m.gguf"
|
||||
|
||||
Write-Host "Downloading $url"
|
||||
Write-Host "-> $outFile"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
param(
|
||||
[string]$Engine = "$env:APPDATA\XianrenStudio\engines\cpu\llama-server.exe",
|
||||
[string]$Model = "$env:APPDATA\XianrenStudio\models\qwen2.5-0.5b-instruct-q4_k_m.gguf",
|
||||
[string]$Model = "$env:APPDATA\XianrenStudio\models\Qwen\Qwen2.5-0.5B-Instruct-GGUF\qwen2.5-0.5b-instruct-q4_k_m.gguf",
|
||||
[int]$Port = 8088
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user