Show HN: Python SDK for RamaLama AI Containers
Hacker News
A new Python SDK for RamaLama, an open-source system for orchestrating AI using OCI containers, allowing users to run LLMs locally on any hardware.
Hacker News
A new Python SDK for RamaLama, an open-source system for orchestrating AI using OCI containers, allowing users to run LLMs locally on any hardware.
AI 生成摘要
RamaLama 推出了一款新的 Python SDK,這是一個利用 OCI 容器協調 AI 的開源系統,讓使用者能在任何硬體上本地運行大型語言模型。
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Programmable AI on any device.
Run LLMs locally on any hardware. If you can build a container you can deploy AI.
RamaLama is an open source container orchestration system which makes working with AI simple, straightforward, and familiar using OCI containers.
Ramalama lets you add AI features to your local application while running entirely on device. It can be used on any device with an applicable container manager like docker or podman with support for most model repositories.
For multiturn conversations the chat method accepts an additional history argument which can also be used to set system prompts.
Models can be pulled from a variety of sources including HuggingFace, Ollama, ModelScope, any OCI registry, local files, and any downloadable URL.
The full suite of supported prefixes can be found below.
The Model exposes a variety of customization parameters including base_image which allows you to customize the model container runtime. This is especially useful if you need to run inference on custom hardware which requires a specifically compiled version of llama.cpp, vLLM, etc...
The Async model API is identical to the sync examples above.
WIP
There was an error while loading. Please reload this page.
0