█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

InferenceX

SemiAnalysis का खुला हार्नेस, जो GPU और serving engines पर LLM inference का लगातार बेंचमार्क करता है

Benchmark Harnessesओपन सोर्स
भाषा
Python
लाइसेंस
Apache-2.0
कवरेज
1 story
$git clone https://github.com/SemiAnalysisAI/InferenceX.git
संक्षेप में

InferenceX क्या है?

InferenceX SemiAnalysis का खुला हार्नेस, जो GPU और serving engines पर LLM inference का लगातार बेंचमार्क करता है. यह Evaluation & Production Ops टूल्स की Benchmark Harnesses श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: tooling को clone और install करें.

सारांश

InferenceX, जिसे पहले InferenceMAX कहा जाता था, SemiAnalysis का ओपन सोर्स inference परफ़ॉर्मेंस रिसर्च प्लेटफ़ॉर्म है। इसका आधार यह है कि LLM serving की रफ़्तार दो चीज़ों पर निर्भर करती है, जो अलग-अलग रफ़्तार से बदलती हैं: हार्डवेयर हर साल नए GPU और सिस्टम आने के साथ बेहतर होता है, जबकि SGLang, vLLM, TensorRT-LLM, CUDA और ROCm जैसा serving सॉफ़्टवेयर हर रिलीज़ के साथ kernel ऑप्टिमाइज़ेशन, distributed inference रणनीतियों और scheduling बदलावों से सुधरता है। एक बार लिया गया बेंचमार्क कुछ दिनों में पुराना हो जाता है, इसलिए InferenceX इन software stacks के बदलने पर अपने बेंचमार्क अपने आप दोबारा चलाता है और नतीजे inferencex.com पर एक मुफ़्त पब्लिक डैशबोर्ड में प्रकाशित करता है।

InferenceX chart of token throughput per GPU against per-user interactivity for DeepSeek V4 Pro in FP4 at 8K input and 1K output, with one curve per hardware and serving-engine pairing across GB300 NVL72, GB200 NVL72, B300, B200 and MI355X.
A typical InferenceX result: throughput per GPU against interactivity, one curve per hardware and serving-engine pairing.InferenceX README ↗

यह रिपॉज़िटरी उसी डैशबोर्ड के पीछे का harness है। बेंचमार्क master YAML configs में घोषित होते हैं, जिनमें हर model, container image, precision, serving framework और runner के लिए एक entry होती है, और हर entry में tensor, pipeline और expert parallelism का search space तथा concurrency की एक रेंज होती है। एक Python पैकेज (`infx`) उन configs को validate करता है और उन्हें job matrix में फैलाता है, GitHub Actions workflows उस matrix को self-hosted GPU runners पर भेजते हैं, launcher scripts serving engine शुरू करती हैं और client workload चलाती हैं, और नतीजों के JSON artifacts इकट्ठे करके अलग से ओपन सोर्स InferenceX-app को ingestion और display के लिए दिए जाते हैं।

End-to-end serving benchmarks (InferenceX-e2e) के साथ रिपॉज़िटरी में दो प्रायोगिक beta प्रोजेक्ट भी हैं। CollectiveX अलग-अलग accelerator सिस्टम पर mixture-of-experts expert-parallel communication libraries के dispatch, combine और roundtrip latency को मापता है। OperatorX NVIDIA, AMD, TPU और Trainium मशीनों पर एक बार में एक operator का समय मापता है (GEMM, attention, MoE, collectives और भी), और हर रन के लिए एक JSON फ़ाइल लिखता है। प्रोजेक्ट बताता है कि केवल SemiAnalysisAI/InferenceX रिपॉज़िटरी ही आधिकारिक InferenceX नतीजे बनाता है, और forks से किए गए रनों को unofficial लेबल करना ज़रूरी है।

यह क्या करता है

  • Declarative master configs हर बेंचमार्क का model, container image, precision, framework, runner और parallelism/concurrency search space बताते हैं, और कुछ भी चलने से पहले Pydantic से validate होते हैं
  • vLLM, SGLang और TensorRT-LLM को कवर करता है, जिसमें NVIDIA Dynamo के disaggregated variants भी शामिल हैं, साथ में AMD पर ATOM भी; NVIDIA, AMD और TPU हार्डवेयर पर, जैसे GB300 NVL72, B200, MI355X, H100 और TPUv7x Ironwood
  • निश्चित input/output sequence-length परिदृश्य और long-context, multi-turn workloads के लिए agentic-coding trace replay (AgentX)
  • GitHub Actions pipeline configs को job matrix में फैलाती है, उन्हें self-hosted runners पर चलाती है और benchmark, eval और trace artifacts इकट्ठा करती है
  • CollectiveX (beta) DeepEP, MoRI, UCCL-EP और NCCL EP जैसी EP libraries में MoE expert-parallel dispatch और combine latency मापता है
  • OperatorX (beta) हर backend पर अलग-अलग inference operators का समय मापता है और हर रन के लिए एक JSON नतीजा देता है, जिसे SLURM jobs के रूप में submit किया जा सकता है या सीधे TPU और Trainium VMs पर चलाया जा सकता है

शुरू करें

End-to-end tooling inferencex-e2e/ प्रोजेक्ट में है और uv से मैनेज होता है। configs को validate करना और matrices बनाना किसी भी मशीन पर चलता है; असल में बेंचमार्क चलाने के लिए GPU runners चाहिए, जिन्हें प्रोजेक्ट अपने GitHub Actions workflows से चलाता है।

Tooling को clone और install करें

Python manifest और lockfile inferencex-e2e/ के हैं, जो अपना Python version भी pin करता है।

bashbash
git clone https://github.com/SemiAnalysisAI/InferenceX.git
cd InferenceX/inferencex-e2e
uv sync --locked

किसी config key के लिए job matrix बनाएं

configs/nvidia-master.yaml या configs/amd-master.yaml की हर top-level key एक benchmark definition है, जिसका नाम उसके model, precision, हार्डवेयर और framework पर रखा गया है। generator उसे validate करता है और वे ठोस jobs प्रिंट करता है जिनमें वह फैलती है।

bashbash
uv run --locked python -m infx.matrix.generate test-config \
  --config-files configs/nvidia-master.yaml --config-keys dsr1-fp4-b200-sglang

GPU runners पर बेंचमार्क चलाएं

पूरे रन रिपॉज़िटरी के GitHub Actions workflows से होकर जाते हैं: run-sweep.yml PR और push gate है जो matrix को self-hosted runners पर भेजता है, और e2e-tests.yml मैन्युअली dispatch होने वाला end-to-end रास्ता है। configs/runners.yaml runner labels को ठोस मशीनों से जोड़ता है, और runners/ launchers model paths, containers और Slurm allocation संभालते हैं। inferencex-e2e/docs/index.md पर मौजूद docs index configuration, CI और troubleshooting guides की ओर ले जाता है।

OperatorX से अलग-अलग operators का समय मापें

TPU VM या Trainium instance पर (SLURM के बिना) operator suite को सीधे चलाएं और cluster id चुनें; SLURM cluster पर scripts/submit_run.py <platform> इसके बजाय हर container image और world size के लिए एक job submit करता है।

bashbash
cd InferenceX/operatorx
OPERATORX_CLUSTER=v6e_4x python -m operatorx

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • एक reproducible, प्रकाशित methodology का उपयोग करके देखें कि वही model अलग-अलग GPU generations और serving engines में कैसा प्रदर्शन करता है
  • vLLM, SGLang या TensorRT-LLM की रिलीज़ आने पर serving throughput और interactivity कैसे बदलते हैं, इसे ट्रैक करें, किसी एक बार के बेंचमार्क पर निर्भर रहने के बजाय
  • किसी नए model, framework या hardware SKU के लिए एक tuned recipe योगदान करें और उसे बाकी के साथ बेंचमार्क करवाएं
  • CollectiveX या OperatorX से अपने cluster पर MoE expert-parallel communication या single-operator performance मापें

How InferenceX compares

InferenceX alongside other open-source benchmark harnesses tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
LM Evaluation Harness★ 14.6kएक ही कमांड से 60+ अकादमिक benchmarks पर language models चलाएँ
OpenCompass★ 7.7k100+ datasets पर LLM बेंचमार्क करने का वन-स्टॉप प्लेटफ़ॉर्म
SWE-bench★ 6.3kजाँचें कि भाषा मॉडल असली GitHub issues हल कर सकते हैं या नहीं
simple-evals★ 4.7kOpenAI का हल्का हार्नेस, जिससे मानक zero-shot, chain-of-thought LLM benchmarks चलाए जा सकें
lmms-eval★ 4.5kimage, video और audio में बड़े मल्टीमोडल मॉडल्स के लिए reproducible evaluation suite
AgentBench★ 3.8kऑपरेटिंग सिस्टम, डेटाबेस, वेब और गेम्स में LLM को एजेंट के रूप में benchmark करें
EvalScope★ 3.8kLLMs, VLMs, embeddings और AIGC models के लिए एक-कमांड वाला benchmark harness
InferenceX★ 2.1kSemiAnalysis का खुला हार्नेस, जो GPU और serving engines पर LLM inference का लगातार बेंचमार्क करता है