Initial import: bare-metal stacks, Server UI, GPU fan, tutorials.
Infrastructure configs for GMKtec K11 (Docker, vLLM, LocalAI, ComfyUI, control-plane, gpu-fan agent, Server UI with CLI/file explorer/GPU fan curve). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
# Create LocalAI data directories on the data disk.
|
||||
|
||||
ensure_localai_dirs() {
|
||||
local data_root="${1:-/data}"
|
||||
mkdir -p \
|
||||
"${data_root}/apps/localai/models" \
|
||||
"${data_root}/apps/localai/backends" \
|
||||
"${data_root}/apps/localai/configuration" \
|
||||
"${data_root}/apps/localai/images" \
|
||||
"${data_root}/apps/localai/data"
|
||||
}
|
||||
|
||||
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
||||
ensure_localai_dirs "${1:-/data}"
|
||||
fi
|
||||
Reference in New Issue
Block a user