Yi-Coder-1.5B-Chat for AMD Loom
model package for AMD graphics accelerators
2 min readupdated
This is a special package of configurations and compiled programs in the Loom ecosystem for running the Yi-Coder-1.5B-Chat language model (in GGUF format with Q4_K_M quantization) on AMD Ryzen AI Max+ 395 and Radeon AI PRO R9700 graphics cards. The kit makes it possible to deploy a local server with support for an OpenAI-compatible API and harness the hardware capabilities of the new AMD chips. The model will come in handy for developers and owners of supported AMD hardware who need a fast local assistant for writing code with a massive context.
Key features
- AMD support: optimization for Strix Halo (gfx1151) and Radeon AI PRO (gfx1201, 32 GB) architectures.
- Large context: support for up to 131,072 tokens per single request.
- Parallel operation: processing of up to 4 concurrent requests.
- Ready-made interface: integration with an OpenAI-like API via the
/v1/chat/completionsendpoint.
What you can do
- Deploy a local server for code generation and debugging using the
hrx-loomandloom-serveutilities. - Integrate the model into local development environments and services using the standard OpenAI API.
- Test the performance of the 1.5B-parameter language model on AMD hardware with weight preloading into memory.
Example
pipx install "hrx-loom[hf]==0.2.0"
loom-fetch huggingface:loom-draft/bartowski-Yi-Coder-1.5B-Chat-loom:chat --materialize=copy --output=yi-coder-1.5b-chat
loom-serve --model=yi-coder-1.5b-chat '--device=amdgpu://?completion_spin_ns=4294967295' --pool_backing=fixed --parameter_mode=preloadRead more
DetailsBase model: bartowski/Yi-Coder-1.5B-Chat-GGUF (Q4_K_M)
Maximum output tokens: 4,096
Tools: package generated via loom-next for the AMD Loom ecosystem
Limitations: performance and correctness tests for this package have not been conducted yet










Comments