연구실
MLPerf Inference 설치
sw.kim
2025. 10. 29. 14:37
공식 문서가 영어로 써져있으면 설명을 읽지 않는 병이 있다.
그래서 어김없이 설치 과정에서 문제가 발생했었다...^^
문제가 된 부분은 다음과 같다. python 가상환경을 사용하기 위해서는 python3-venv가 설치되어 있어야 하는데, OS를 지난번에 밀고 새로 설치하면서 설치가 되어있지 않은 상태에서 env를 만들어서 오류가 발생했다.
정상적인 설치 과정은 아래와 같다.
1. 시스템 패키지 설치(git, python3-venv, python3-pip 필요)
sudo apt install python3-venv python3-pip git
2. MLCommons Inference 저장소 클론
git clone https://github.com/mlcommons/inference.git
3. 가상환경 생성 및 활성화
python3 -m venv mlc
source mlc/bin/activate
4. MLC Scripts 설치
pip install mlc-scripts
이제 아래 사이트에서 원하는 벤치마크를 찾아 커맨드를 사용하면 된다.
https://docs.mlcommons.org/inference/
MLPerf Inference Benchmarks - MLPerf Inference Documentation
MLPerf Inference Benchmarks Overview The currently valid MLPerf Inference Benchmarks as of MLPerf inference v5.0 round are listed below, categorized by tasks. Under each model you can find its details like the dataset used, reference accuracy, server laten
docs.mlcommons.org