mirror of https://github.com/razor-ai/soup.git
New commands: - `soup deploy ollama` — deploy GGUF to local Ollama with auto-template detection - `soup deploy ollama --list` / `--remove` — manage Soup-deployed models - `soup export --deploy ollama` — export + auto-deploy in one step New files: - soup_cli/utils/ollama.py — detect, deploy, list, remove, Modelfile generation - soup_cli/commands/deploy.py — Typer command group with Rich panels - tests/test_deploy_ollama.py — 78 tests covering all paths Security hardening: - GGUF path traversal protection + .gguf extension validation - Model name validation (no path separators, null bytes) - Modelfile parameter key allowlist prevents directive injection - Parameter value newline/null sanitization - Subprocess calls use list args (no shell injection) - Warning panel before overwriting existing Ollama models 1449 tests, 57 test files, all passing. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| constants.py | ||
| deepspeed.py | ||
| errors.py | ||
| flash_attn.py | ||
| fsdp.py | ||
| galore.py | ||
| gpu.py | ||
| liger.py | ||
| long_context.py | ||
| moe.py | ||
| ollama.py | ||
| qat.py | ||
| quality.py | ||
| ring_attention.py | ||
| sglang.py | ||
| unsloth.py | ||
| vllm.py | ||