{"adoption": {"forks": 138, "observed_at": "2026-08-28T04:06:16.823987+00:00", "stars": 2125}, "canonical_url": "https://ross.abutalabs.com/products/llama2mojo", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Inference Llama 2 in one file of pure 🔥", "domain": ["large-language-models", "deep-learning", "performance", "developer-tools"], "enriched": true, "function": ["llm-inference", "machine-learning", "benchmarking"], "health_score": 60, "homepage": "https://www.modular.com/blog/community-spotlight-how-i-built-llama2-by-aydyn-tairov", "language": "Mojo", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["tairov/llama2.mojo"], "name": "tairov/llama2.mojo", "platform": ["cli"], "pushed_at": "2026-02-09T08:48:39+00:00", "repo": "tairov/llama2.mojo", "stars": 2125, "tags": ["mojo", "llama2", "simd", "vectorization", "single-file", "transformer", "cpu-inference", "educational", "macos", "linux", "cpu"], "topics": ["inference", "llama", "llama2", "modular", "mojo", "performance", "simd", "vectorization", "parallelize", "tensor", "transformer-architecture"], "urls": [], "use_cases": ["run llama 2 inference locally on cpu", "benchmark mojo vs c and python llama2 implementations", "learn how transformer inference works in a single file", "experiment with simd vectorized matrix multiplication", "run tinyllama and stories models from the terminal"], "what_it_is": "A single-file implementation of Llama 2 transformer inference written in pure Mojo, leveraging SIMD and vectorization for fast CPU inference. It outperforms llama2.c and llama.cpp on small Llama models and serves as a showcase of Mojo's performance capabilities.", "when_to_avoid": ["you need production LLM serving with batching, quantization, or GPU support", "you need to run large models beyond ~1B parameters", "you require a stable long-term dependency, since it tracks Mojo nightly versions"], "when_to_choose": ["you want fast CPU inference of small Llama 2 models without GPU dependencies", "you are learning Mojo or studying optimized transformer inference code", "you want a minimal single-file LLM inference implementation"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/llama2mojo", "repo": "tairov/llama2.mojo", "role": "main", "score": 57}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.823987+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.858289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bdf5d79083b117bf0858bcee3d17f2d14c2361af7e78611173dac0e2d72358cf", "fetched_at": "2026-08-28T04:06:16.823987+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tairov/llama2.mojo"}, {"content_hash": "3a8fd8fe7221c20b3972f0ff61f631f527bcaf1f9b6db7804635d142ebb9df59", "fetched_at": "2026-08-29T10:32:40.418179+00:00", "kind": "homepage", "missing": false, "url": "https://www.modular.com/blog/community-spotlight-how-i-built-llama2-by-aydyn-tairov"}, {"content_hash": "05fe31f74212ba527918318487540927d106a15b23e8c539866b7a683e5d2c26", "fetched_at": "2026-08-29T10:32:40.421047+00:00", "kind": "site_page", "missing": false, "url": "https://docs.modular.com/"}, {"content_hash": "3b5f4e72598e17ac4ed6974018ab7846c4aa39b946346d4487c6df6fd5917da8", "fetched_at": "2026-08-29T10:32:40.424964+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/company/about"}, {"content_hash": "bc1180bba7dd721bc723d3b9df81d2d08fe258464eaf1f8229b4e7ee5519462e", "fetched_at": "2026-08-29T10:32:40.422780+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/pricing"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.823987+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.858289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bdf5d79083b117bf0858bcee3d17f2d14c2361af7e78611173dac0e2d72358cf", "fetched_at": "2026-08-28T04:06:16.823987+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tairov/llama2.mojo"}, {"content_hash": "3a8fd8fe7221c20b3972f0ff61f631f527bcaf1f9b6db7804635d142ebb9df59", "fetched_at": "2026-08-29T10:32:40.418179+00:00", "kind": "homepage", "missing": false, "url": "https://www.modular.com/blog/community-spotlight-how-i-built-llama2-by-aydyn-tairov"}, {"content_hash": "05fe31f74212ba527918318487540927d106a15b23e8c539866b7a683e5d2c26", "fetched_at": "2026-08-29T10:32:40.421047+00:00", "kind": "site_page", "missing": false, "url": "https://docs.modular.com/"}, {"content_hash": "3b5f4e72598e17ac4ed6974018ab7846c4aa39b946346d4487c6df6fd5917da8", "fetched_at": "2026-08-29T10:32:40.424964+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/company/about"}, {"content_hash": "bc1180bba7dd721bc723d3b9df81d2d08fe258464eaf1f8229b4e7ee5519462e", "fetched_at": "2026-08-29T10:32:40.422780+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/pricing"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.858289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bdf5d79083b117bf0858bcee3d17f2d14c2361af7e78611173dac0e2d72358cf", "fetched_at": "2026-08-28T04:06:16.823987+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tairov/llama2.mojo"}, {"content_hash": "3a8fd8fe7221c20b3972f0ff61f631f527bcaf1f9b6db7804635d142ebb9df59", "fetched_at": "2026-08-29T10:32:40.418179+00:00", "kind": "homepage", "missing": false, "url": "https://www.modular.com/blog/community-spotlight-how-i-built-llama2-by-aydyn-tairov"}, {"content_hash": "05fe31f74212ba527918318487540927d106a15b23e8c539866b7a683e5d2c26", "fetched_at": "2026-08-29T10:32:40.421047+00:00", "kind": "site_page", "missing": false, "url": "https://docs.modular.com/"}, {"content_hash": "3b5f4e72598e17ac4ed6974018ab7846c4aa39b946346d4487c6df6fd5917da8", "fetched_at": "2026-08-29T10:32:40.424964+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/company/about"}, {"content_hash": "bc1180bba7dd721bc723d3b9df81d2d08fe258464eaf1f8229b4e7ee5519462e", "fetched_at": "2026-08-29T10:32:40.422780+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/pricing"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.823987+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.823987+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.823987+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.858289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bdf5d79083b117bf0858bcee3d17f2d14c2361af7e78611173dac0e2d72358cf", "fetched_at": "2026-08-28T04:06:16.823987+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tairov/llama2.mojo"}, {"content_hash": "3a8fd8fe7221c20b3972f0ff61f631f527bcaf1f9b6db7804635d142ebb9df59", "fetched_at": "2026-08-29T10:32:40.418179+00:00", "kind": "homepage", "missing": false, "url": "https://www.modular.com/blog/community-spotlight-how-i-built-llama2-by-aydyn-tairov"}, {"content_hash": "05fe31f74212ba527918318487540927d106a15b23e8c539866b7a683e5d2c26", "fetched_at": "2026-08-29T10:32:40.421047+00:00", "kind": "site_page", "missing": false, "url": "https://docs.modular.com/"}, {"content_hash": "3b5f4e72598e17ac4ed6974018ab7846c4aa39b946346d4487c6df6fd5917da8", "fetched_at": "2026-08-29T10:32:40.424964+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/company/about"}, {"content_hash": "bc1180bba7dd721bc723d3b9df81d2d08fe258464eaf1f8229b4e7ee5519462e", "fetched_at": "2026-08-29T10:32:40.422780+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/pricing"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.823987+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.823987+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.858289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bdf5d79083b117bf0858bcee3d17f2d14c2361af7e78611173dac0e2d72358cf", "fetched_at": "2026-08-28T04:06:16.823987+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tairov/llama2.mojo"}, {"content_hash": "3a8fd8fe7221c20b3972f0ff61f631f527bcaf1f9b6db7804635d142ebb9df59", "fetched_at": "2026-08-29T10:32:40.418179+00:00", "kind": "homepage", "missing": false, "url": "https://www.modular.com/blog/community-spotlight-how-i-built-llama2-by-aydyn-tairov"}, {"content_hash": "05fe31f74212ba527918318487540927d106a15b23e8c539866b7a683e5d2c26", "fetched_at": "2026-08-29T10:32:40.421047+00:00", "kind": "site_page", "missing": false, "url": "https://docs.modular.com/"}, {"content_hash": "3b5f4e72598e17ac4ed6974018ab7846c4aa39b946346d4487c6df6fd5917da8", "fetched_at": "2026-08-29T10:32:40.424964+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/company/about"}, {"content_hash": "bc1180bba7dd721bc723d3b9df81d2d08fe258464eaf1f8229b4e7ee5519462e", "fetched_at": "2026-08-29T10:32:40.422780+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/pricing"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.823987+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.823987+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.823987+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.858289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bdf5d79083b117bf0858bcee3d17f2d14c2361af7e78611173dac0e2d72358cf", "fetched_at": "2026-08-28T04:06:16.823987+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tairov/llama2.mojo"}, {"content_hash": "3a8fd8fe7221c20b3972f0ff61f631f527bcaf1f9b6db7804635d142ebb9df59", "fetched_at": "2026-08-29T10:32:40.418179+00:00", "kind": "homepage", "missing": false, "url": "https://www.modular.com/blog/community-spotlight-how-i-built-llama2-by-aydyn-tairov"}, {"content_hash": "05fe31f74212ba527918318487540927d106a15b23e8c539866b7a683e5d2c26", "fetched_at": "2026-08-29T10:32:40.421047+00:00", "kind": "site_page", "missing": false, "url": "https://docs.modular.com/"}, {"content_hash": "3b5f4e72598e17ac4ed6974018ab7846c4aa39b946346d4487c6df6fd5917da8", "fetched_at": "2026-08-29T10:32:40.424964+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/company/about"}, {"content_hash": "bc1180bba7dd721bc723d3b9df81d2d08fe258464eaf1f8229b4e7ee5519462e", "fetched_at": "2026-08-29T10:32:40.422780+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/pricing"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.823987+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.823987+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.858289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bdf5d79083b117bf0858bcee3d17f2d14c2361af7e78611173dac0e2d72358cf", "fetched_at": "2026-08-28T04:06:16.823987+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tairov/llama2.mojo"}, {"content_hash": "3a8fd8fe7221c20b3972f0ff61f631f527bcaf1f9b6db7804635d142ebb9df59", "fetched_at": "2026-08-29T10:32:40.418179+00:00", "kind": "homepage", "missing": false, "url": "https://www.modular.com/blog/community-spotlight-how-i-built-llama2-by-aydyn-tairov"}, {"content_hash": "05fe31f74212ba527918318487540927d106a15b23e8c539866b7a683e5d2c26", "fetched_at": "2026-08-29T10:32:40.421047+00:00", "kind": "site_page", "missing": false, "url": "https://docs.modular.com/"}, {"content_hash": "3b5f4e72598e17ac4ed6974018ab7846c4aa39b946346d4487c6df6fd5917da8", "fetched_at": "2026-08-29T10:32:40.424964+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/company/about"}, {"content_hash": "bc1180bba7dd721bc723d3b9df81d2d08fe258464eaf1f8229b4e7ee5519462e", "fetched_at": "2026-08-29T10:32:40.422780+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/pricing"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.858289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bdf5d79083b117bf0858bcee3d17f2d14c2361af7e78611173dac0e2d72358cf", "fetched_at": "2026-08-28T04:06:16.823987+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tairov/llama2.mojo"}, {"content_hash": "3a8fd8fe7221c20b3972f0ff61f631f527bcaf1f9b6db7804635d142ebb9df59", "fetched_at": "2026-08-29T10:32:40.418179+00:00", "kind": "homepage", "missing": false, "url": "https://www.modular.com/blog/community-spotlight-how-i-built-llama2-by-aydyn-tairov"}, {"content_hash": "05fe31f74212ba527918318487540927d106a15b23e8c539866b7a683e5d2c26", "fetched_at": "2026-08-29T10:32:40.421047+00:00", "kind": "site_page", "missing": false, "url": "https://docs.modular.com/"}, {"content_hash": "3b5f4e72598e17ac4ed6974018ab7846c4aa39b946346d4487c6df6fd5917da8", "fetched_at": "2026-08-29T10:32:40.424964+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/company/about"}, {"content_hash": "bc1180bba7dd721bc723d3b9df81d2d08fe258464eaf1f8229b4e7ee5519462e", "fetched_at": "2026-08-29T10:32:40.422780+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/pricing"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.858289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bdf5d79083b117bf0858bcee3d17f2d14c2361af7e78611173dac0e2d72358cf", "fetched_at": "2026-08-28T04:06:16.823987+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tairov/llama2.mojo"}, {"content_hash": "3a8fd8fe7221c20b3972f0ff61f631f527bcaf1f9b6db7804635d142ebb9df59", "fetched_at": "2026-08-29T10:32:40.418179+00:00", "kind": "homepage", "missing": false, "url": "https://www.modular.com/blog/community-spotlight-how-i-built-llama2-by-aydyn-tairov"}, {"content_hash": "05fe31f74212ba527918318487540927d106a15b23e8c539866b7a683e5d2c26", "fetched_at": "2026-08-29T10:32:40.421047+00:00", "kind": "site_page", "missing": false, "url": "https://docs.modular.com/"}, {"content_hash": "3b5f4e72598e17ac4ed6974018ab7846c4aa39b946346d4487c6df6fd5917da8", "fetched_at": "2026-08-29T10:32:40.424964+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/company/about"}, {"content_hash": "bc1180bba7dd721bc723d3b9df81d2d08fe258464eaf1f8229b4e7ee5519462e", "fetched_at": "2026-08-29T10:32:40.422780+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/pricing"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.858289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bdf5d79083b117bf0858bcee3d17f2d14c2361af7e78611173dac0e2d72358cf", "fetched_at": "2026-08-28T04:06:16.823987+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tairov/llama2.mojo"}, {"content_hash": "3a8fd8fe7221c20b3972f0ff61f631f527bcaf1f9b6db7804635d142ebb9df59", "fetched_at": "2026-08-29T10:32:40.418179+00:00", "kind": "homepage", "missing": false, "url": "https://www.modular.com/blog/community-spotlight-how-i-built-llama2-by-aydyn-tairov"}, {"content_hash": "05fe31f74212ba527918318487540927d106a15b23e8c539866b7a683e5d2c26", "fetched_at": "2026-08-29T10:32:40.421047+00:00", "kind": "site_page", "missing": false, "url": "https://docs.modular.com/"}, {"content_hash": "3b5f4e72598e17ac4ed6974018ab7846c4aa39b946346d4487c6df6fd5917da8", "fetched_at": "2026-08-29T10:32:40.424964+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/company/about"}, {"content_hash": "bc1180bba7dd721bc723d3b9df81d2d08fe258464eaf1f8229b4e7ee5519462e", "fetched_at": "2026-08-29T10:32:40.422780+00:00", "kind": "site_page", "missing": false, "url": "https://www.modular.com/pricing"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 66, "longevity": 77, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1088, "days_push": 205, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 57, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}