nvidia-lm-eval
A framework for evaluating language models - packaged by NVIDIA
What it is and what it does
NVIDIA NeMo Evaluator is a framework for running standardized benchmarks against language model endpoints. It wraps the lm-evaluation-harness with NVIDIA's tooling to simplify evaluation workflows, providing a command-line interface and YAML-based configuration system. You point it at a model API (chat or completions style), specify a benchmark task (MMLU, IFEval, MATH, etc.), and it handles request batching, result collection, and output formatting.
The package is designed for teams evaluating models deployed as API endpoints rather than local inference. It depends on a large ecosystem of evaluation libraries (evaluate, datasets, rouge-score, sacrebleu, transformers) and integrates with OpenAI-compatible APIs. Configuration is hierarchical—command-line flags override YAML config, which overrides task defaults. Results are saved to a specified directory as YAML.
Use it for:
- Benchmark a custom or third-party LLM endpoint against standard tasks like MMLU or IFEval to measure quality.
- Run recurring evaluations on model endpoints in a CI/CD pipeline to detect performance regressions.
- Compare multiple model endpoints on the same benchmark suite using YAML configs and parallelism settings.
- Evaluate models hosted on NVIDIA's API platform or any OpenAI-compatible endpoint without modifying evaluation code.
- Gather standardized metrics and logs for model selection or release decisions.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Evaluates language models against standardized benchmarks (MMLU, IFEval, MATH, etc.) by sending requests to model API endpoints and collecting results.
Yes, if you need to evaluate language models via API endpoints and want a standardized, well-maintained framework. The large dependency footprint and requirement for a deployed model endpoint are expected trade-offs for comprehensive benchmark support. No known vulnerabilities and active maintenance make it production-ready.
Install
nvidia-lm-eval on PyPI
pip
pip install nvidia-lm-evaluv
uv add nvidia-lm-evalpoetry
poetry add nvidia-lm-evalInstalling nvidia-lm-eval
Before you install
Low friction install as a pure Python wheel. Actively maintained with recent releases. Brings 34 runtime dependencies including transformers, datasets, and evaluation libraries—a substantial but expected footprint for a comprehensive evaluation framework.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for integration into proprietary evaluation pipelines.
Quickstart
pip install nvidia-lm-eval
export MY_API_KEY="your_key"
nemo-evaluator run_eval --eval_type mmlu_pro --model_id my_model --model_url http://localhost:8000 --model_type chat --api_key_name MY_API_KEY --output_dir ./results
Requires a deployed language model endpoint with OpenAI/NIM-compatible API; model must be accessible at the specified URL.
Verify before relying
- Whether the framework supports evaluation of local models or only remote endpoints.
- Performance characteristics when running large-scale evaluations (throughput, memory usage, parallelism limits).
- Extensibility for custom evaluation tasks beyond the pre-packaged benchmarks.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 34 — evaluate, datasets, jsonlines, numexpr, pybind11, pytablewriter, rouge-score, sacrebleu, scikit-learn, tqdm-multiprocess, transformers, zstandard, dill, word2number, more_itertools, pandas, jinja2, numpy, httpx, langdetect, immutabledict, nltk, requests, aiohttp, tenacity, tqdm, tiktoken, sentencepiece, beautifulsoup4, openai |
| Maintenance | actively maintained — 151 days since the last release |
| First released | |
| Downloads | 127,294/month — #11,748 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: nvidia_lm_eval-26.3-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
lm-evalUnified framework for evaluating generative…
permissive · top 5,000 on PyPI
nemo-evaluatorNeMo Evaluator runs standardized benchmarks…
permissive · top 15,000 on PyPI
nvidia-nat-evalProvides evaluation components and CLI commands…
permissive · top 15,000 on PyPI
learnosity-sdkLearnosity SDK provides Python bindings to…
permissive · top 15,000 on PyPI
autoevalsAutoevals provides automatic evaluation methods…
unclear · top 5,000 on PyPI
nvidia-nat-coreNVIDIA NeMo Agent Toolkit is a…
permissive · top 15,000 on PyPI
openevalsOpenEvals provides a framework for writing and…
permissive · top 5,000 on PyPI
azure-ai-evaluationEvaluates generative AI application outputs…
permissive · top 15,000 on PyPI
nemo-gymNeMo Gym provides infrastructure for building,…
permissive · top 5,000 on PyPI
nvidia-nat-atifProvides ATIF schema models for the NVIDIA NeMo…
permissive · top 15,000 on PyPI