Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

How to deploy MiMo-7B-RL model in local environment?

2025-08-23 1.7 K

MiMo-7B-RL Deployment Guide

Environmental readiness requirements: Requires Python 3.8+ and more than 14GB of storage; a virtual environment is recommended.

Detailed Steps:

  1. Creating a Virtual Environment::
    python3 -m venv mimo_env
    source mimo_env/bin/activate
  2. Installation of the inference engine(Optional):
    • vLLM (recommended)::pip install "vllm @ git+https://github.com/XiaomiMiMo/vllm.git@feat_mimo_mtp_stable_073"
    • SGLang::python3 -m pip install "sglang[all] @ git+https://github.com/sgl-project/sglang.git@main#egg=sglang&subdirectory=python"
  3. Download model::
    from transformers import AutoModelForCausalLM, AutoTokenizer
    model_id = "XiaomiMiMo/MiMo-7B-RL"
    model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)
  4. Starting services::
    python3 -m vllm.entrypoints.api_server --model XiaomiMiMo/MiMo-7B-RL --host 0.0.0.0

take note ofRecommended: NVIDIA A100 40GB GPU, CPU requires at least 32GB of RAM. The first run will automatically download approximately 14GB of model files.

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top