models

/

Yi-Coder-9B-Q6_K

Version: 9B CPU Q6_K

You can quickly deploy Yi-Coder-9B to an endpoint using our MAX container. It includes the latest version of MAX with GPU support and our Python-based inference server called MAX Serve.

With the following Docker command, you’ll get an OpenAI-compatible endpoint running Yi-Coder-9B:

docker run --gpus 1 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_HUB_ENABLE_HF_TRANSFER=1" \
    --env "HF_TOKEN=" \
    -p 8000:8000 \
    docker.modular.com/modular/max-openai-api:nightly \
    --huggingface-repo-id 01-ai/Yi-Coder-9B \
    --weight-path=legraphista/Yi-Coder-9B-IMat-GGUF/Yi-Coder-9B.Q6_K.gguf

In order to download the model from Hugging Face, you just need to fill in the HF_TOKEN value with your access token, unless the model is from https://huggingface.co/modularai.

Learn more

For more information about the container image, see the MAX container documentation.

To learn more about how to deploy MAX to the cloud, check out our MAX Serve tutorials.

DETAILS

CodeMODEL CLASS
MAX Model

MAX Models are popular open-source models converted to MAX’s native graph format. Anything with the label is either SOTA or being worked on. Learn more about MAX Models.

Browse all MAX Models

HARDWARE
CPU
QUANTIZATION
Q6_K
ARCHITECTURE
MAX Model

MAX GITHUB

Modular / MAX

BASE MODEL

01-ai

01-ai/Yi-Coder-9B

QUANTIZED BY

legraphista

legraphista/Yi-9B-Coder-IMat-GGUF

QUESTIONS ABOUT THIS MODEL?

Leave a comment

PROBLEMS WITH THE CODE?

File an Issue

TAGS

transformers

/

safetensors

/

llama

/

text-generation

/

arxiv:2403.04652

/

license:apache-2.0

/

autotrain_compatible

/

text-generation-inference

/

endpoints_compatible

/

region:us

Resources & support for
running Yi-Coder-9B

@ Copyright - Modular Inc - 2025