Sylvia Xiao | AI Engineer
文章
14
分类
2
标签
16
Read Blog
🏋🏼
Building MLC-LLM: A Step-by-Step Guide
发布于: 2025-2-23
最后更新: 2026-5-28
次查看
llm
Android
MLC
目录
0%
Building MLC-LLM: A Step-by-Step Guide
1. Compiling TVM from Source
1.1 Source Preparation
1.2 Creating and Activating the Conda Environment
1.3 Compiling the TVM Source
1.3.1 Generating and Configuring config.cmake
1.3.2 Modifying CMakeLists.txt in TVM
1.3.3 Building TVM
1.3.4 Converting TVM into a Python-Executable Extension
1.3.5 Verifying the TVM Installation
2. Compiling the MLC Source Code
2.1 Building MLC
2.2 Converting MLC into a Python-Executable Extension
2.3 Verifying the MLC Installation
3. Potential Risks and Troubleshooting
3.1 Virtual Machine Considerations
3.2 Common CMake Errors
SylviaXiao
AI Engineer
文章
14
分类
2
标签
16
最新发布
Qwen-Image Text-to-Image Pipeline Note
2026-6-22
Whisper’s Encoder-Decoder Pipeline, Special Tokens, and a Comparison with Qwen3-ASR
2026-6-17
Financial / Universe Robot Dialogue AI Interface
2026-6-2
Real-time Logging in Model Training Using Python
2026-5-28
Building MLC-LLM: A Step-by-Step Guide
2026-5-28
Memory and Computation in LLM Inference: Transformers vs. RWKV
2026-5-28
目录
0%
Building MLC-LLM: A Step-by-Step Guide
1. Compiling TVM from Source
1.1 Source Preparation
1.2 Creating and Activating the Conda Environment
1.3 Compiling the TVM Source
1.3.1 Generating and Configuring config.cmake
1.3.2 Modifying CMakeLists.txt in TVM
1.3.3 Building TVM
1.3.4 Converting TVM into a Python-Executable Extension
1.3.5 Verifying the TVM Installation
2. Compiling the MLC Source Code
2.1 Building MLC
2.2 Converting MLC into a Python-Executable Extension
2.3 Verifying the MLC Installation
3. Potential Risks and Troubleshooting
3.1 Virtual Machine Considerations
3.2 Common CMake Errors