Conversation
Shimmy is a lightweight Rust-based OpenAI-compatible API server for GGUF models. It supports CPU and GPU inference (CUDA, Vulkan, OpenCL, MLX). - Add shimmy component alongside existing ollama - OpenWebUI and n8n can use either backend (ollama preferred, shimmy fallback) - CPU-only by default, auto-detects GPU when enabled - Health checks on /health endpoint Users can choose between ollama (more features) or shimmy (lighter weight).
|
Thanks @awdemos ! So this can replace Ollama for both OpenWebUI and N8n? Let's get this one merged first, can you just use Also there is no need to add these AMD specific vars, it's handled in https://github.com/QC-Labs/orange-lab/blob/main/src/containers.ts#L175-L183 |
| ports: [{ name: 'http', port: 11434 }], | ||
| volumeMounts: [{ mountPath: '/app/models' }], | ||
| commandArgs, | ||
| image: `ghcr.io/michael-a-kuykendall/shimmy:${imageTag}`, |
There was a problem hiding this comment.
not needed anymore, just needs <app>:image (shimmy:image=ghcr.io/michael-a-kuykendall/shimmy:latest) added to Pulumi.yaml
| SHIMMY_HOST: '0.0.0.0', | ||
| SHIMMY_BASE_GGUF: '/app/models', | ||
| HSA_OVERRIDE_GFX_VERSION: amdGpu && gfxVersion ? gfxVersion : undefined, | ||
| HCC_AMDGPU_TARGETS: amdGpu && amdTargets ? amdTargets : undefined, |
There was a problem hiding this comment.
standard AMD driver vars, handled in containers.ts whenever <app>:gpu=amd, can be removed
|
@awdemos did you get this working with That causes all models fail to load, even with CPU. |
|
New image has been published so this might be worth revisiting (Michael-A-Kuykendall/shimmy#146 (comment)). The files need to move to |
Shimmy is a lightweight Rust-based OpenAI-compatible API server for GGUF models. It supports CPU and GPU inference (CUDA, Vulkan, OpenCL, MLX).
Users can choose between ollama or shimmy.