Update installer scripts and documentation for Hugging Face hosting
Browse files- README.md +19 -6
- install.ps1 +5 -7
- install.sh +5 -9
README.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<div align="center">
|
| 2 |
<img src="assets/icon.svg" width="96" height="96" alt="WingLLM Logo" />
|
| 3 |
<h1>WingLLM</h1>
|
|
@@ -71,18 +83,19 @@ Tested on an **Intel Core i5-8500T (6 cores, 32GB RAM)** paired with an **NVIDIA
|
|
| 71 |
|
| 72 |
**macOS & Linux**:
|
| 73 |
```bash
|
| 74 |
-
curl -fsSL https://
|
| 75 |
```
|
| 76 |
|
| 77 |
**Windows (PowerShell)**:
|
| 78 |
```powershell
|
| 79 |
-
irm https://
|
| 80 |
```
|
| 81 |
|
| 82 |
-
*
|
| 83 |
-
``
|
| 84 |
-
|
| 85 |
-
``
|
|
|
|
| 86 |
|
| 87 |
### 2. Check Available Models & Pairings
|
| 88 |
```bash
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- speculative-decoding
|
| 5 |
+
- inference-engine
|
| 6 |
+
- llama-cpp
|
| 7 |
+
- ollama
|
| 8 |
+
- low-vram
|
| 9 |
+
- vram-optimization
|
| 10 |
+
- heterogeneous-computing
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
<div align="center">
|
| 14 |
<img src="assets/icon.svg" width="96" height="96" alt="WingLLM Logo" />
|
| 15 |
<h1>WingLLM</h1>
|
|
|
|
| 83 |
|
| 84 |
**macOS & Linux**:
|
| 85 |
```bash
|
| 86 |
+
curl -fsSL https://huggingface.co/bennett-xdlabs/wingllm/raw/main/install.sh | bash
|
| 87 |
```
|
| 88 |
|
| 89 |
**Windows (PowerShell)**:
|
| 90 |
```powershell
|
| 91 |
+
irm https://huggingface.co/bennett-xdlabs/wingllm/raw/main/install.ps1 | iex
|
| 92 |
```
|
| 93 |
|
| 94 |
+
**Direct Binary Downloads**:
|
| 95 |
+
* Windows: [`wingllm.exe`](https://huggingface.co/bennett-xdlabs/wingllm/resolve/main/wingllm.exe)
|
| 96 |
+
* macOS (Apple Silicon): [`wingllm-darwin-arm64`](https://huggingface.co/bennett-xdlabs/wingllm/resolve/main/wingllm-darwin-arm64)
|
| 97 |
+
* macOS (Intel): [`wingllm-darwin-amd64`](https://huggingface.co/bennett-xdlabs/wingllm/resolve/main/wingllm-darwin-amd64)
|
| 98 |
+
* Linux (x86_64): [`wingllm-linux-amd64`](https://huggingface.co/bennett-xdlabs/wingllm/resolve/main/wingllm-linux-amd64)
|
| 99 |
|
| 100 |
### 2. Check Available Models & Pairings
|
| 101 |
```bash
|
install.ps1
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# WingLLM One-Line Windows Installer
|
| 2 |
-
# Usage: irm https://
|
| 3 |
|
| 4 |
$ErrorActionPreference = "Stop"
|
| 5 |
|
|
@@ -13,17 +13,15 @@ if (!(Test-Path $InstallDir)) {
|
|
| 13 |
}
|
| 14 |
|
| 15 |
$ExePath = "$InstallDir\wingllm.exe"
|
| 16 |
-
$ReleaseUrl = "https://
|
| 17 |
|
| 18 |
-
Write-Host "Downloading WingLLM binary..." -ForegroundColor Yellow
|
| 19 |
try {
|
| 20 |
Invoke-WebRequest -Uri $ReleaseUrl -OutFile $ExePath -UseBasicParsing
|
| 21 |
Write-Host "Downloaded successfully to: $ExePath" -ForegroundColor Green
|
| 22 |
} catch {
|
| 23 |
-
Write-Host "
|
| 24 |
-
|
| 25 |
-
go install github.com/Rbm3267/wingllm/cmd/wingllm@latest
|
| 26 |
-
}
|
| 27 |
}
|
| 28 |
|
| 29 |
# Add to user PATH if not present
|
|
|
|
| 1 |
# WingLLM One-Line Windows Installer
|
| 2 |
+
# Usage: irm https://huggingface.co/bennett-xdlabs/wingllm/raw/main/install.ps1 | iex
|
| 3 |
|
| 4 |
$ErrorActionPreference = "Stop"
|
| 5 |
|
|
|
|
| 13 |
}
|
| 14 |
|
| 15 |
$ExePath = "$InstallDir\wingllm.exe"
|
| 16 |
+
$ReleaseUrl = "https://huggingface.co/bennett-xdlabs/wingllm/resolve/main/wingllm.exe"
|
| 17 |
|
| 18 |
+
Write-Host "Downloading WingLLM binary from Hugging Face..." -ForegroundColor Yellow
|
| 19 |
try {
|
| 20 |
Invoke-WebRequest -Uri $ReleaseUrl -OutFile $ExePath -UseBasicParsing
|
| 21 |
Write-Host "Downloaded successfully to: $ExePath" -ForegroundColor Green
|
| 22 |
} catch {
|
| 23 |
+
Write-Host "Error downloading binary: $_" -ForegroundColor Red
|
| 24 |
+
exit 1
|
|
|
|
|
|
|
| 25 |
}
|
| 26 |
|
| 27 |
# Add to user PATH if not present
|
install.sh
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
#!/usr/bin/env bash
|
| 2 |
# WingLLM Universal Installer for macOS and Linux
|
| 3 |
-
# Usage: curl -fsSL https://
|
| 4 |
|
| 5 |
set -e
|
| 6 |
|
|
@@ -21,20 +21,16 @@ INSTALL_DIR="$HOME/.wingllm/bin"
|
|
| 21 |
mkdir -p "$INSTALL_DIR"
|
| 22 |
|
| 23 |
BINARY="wingllm-${OS}-${ARCH}"
|
| 24 |
-
RELEASE_URL="https://
|
| 25 |
DEST="$INSTALL_DIR/wingllm"
|
| 26 |
|
| 27 |
-
echo "Downloading WingLLM for ${OS}/${ARCH}..."
|
| 28 |
if curl -fsSL "$RELEASE_URL" -o "$DEST"; then
|
| 29 |
chmod +x "$DEST"
|
| 30 |
echo "Downloaded successfully to $DEST"
|
| 31 |
else
|
| 32 |
-
echo "
|
| 33 |
-
|
| 34 |
-
go install github.com/Rbm3267/wingllm/cmd/wingllm@latest
|
| 35 |
-
echo "Installed via go install!"
|
| 36 |
-
exit 0
|
| 37 |
-
fi
|
| 38 |
fi
|
| 39 |
|
| 40 |
# Add to PATH in shell profile
|
|
|
|
| 1 |
#!/usr/bin/env bash
|
| 2 |
# WingLLM Universal Installer for macOS and Linux
|
| 3 |
+
# Usage: curl -fsSL https://huggingface.co/bennett-xdlabs/wingllm/raw/main/install.sh | bash
|
| 4 |
|
| 5 |
set -e
|
| 6 |
|
|
|
|
| 21 |
mkdir -p "$INSTALL_DIR"
|
| 22 |
|
| 23 |
BINARY="wingllm-${OS}-${ARCH}"
|
| 24 |
+
RELEASE_URL="https://huggingface.co/bennett-xdlabs/wingllm/resolve/main/${BINARY}"
|
| 25 |
DEST="$INSTALL_DIR/wingllm"
|
| 26 |
|
| 27 |
+
echo "Downloading WingLLM for ${OS}/${ARCH} from Hugging Face..."
|
| 28 |
if curl -fsSL "$RELEASE_URL" -o "$DEST"; then
|
| 29 |
chmod +x "$DEST"
|
| 30 |
echo "Downloaded successfully to $DEST"
|
| 31 |
else
|
| 32 |
+
echo "Error downloading binary from Hugging Face: $RELEASE_URL"
|
| 33 |
+
exit 1
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
fi
|
| 35 |
|
| 36 |
# Add to PATH in shell profile
|