Home/Compare/gpt-neox vs Megatron-LM

Comparison

gpt-neox vs Megatron-LM

Verdict

Pick gpt-neox if gPT-NeoX is a model parallel autoregressive transformer implementation on GPUs, leveraging Megatron and DeepSpeed libraries; pick Megatron-LM if megatron-LM is a research project by NVIDIA for training large transformer models at scale, emphasizing parallelism strategies across multiple GPUs.

Markdown twin · gpt-neox alternatives · Megatron-LM alternatives

GraphCanon updated Sep 20, 2026

10views this month

gpt-neox logo

gpt-neox

EleutherAI/gpt-neox

★ 7.5kpushed Sep 4, 2026
vs
Megatron-LM logo

Megatron-LM

NVIDIA/Megatron-LM

★ 18kpushed Sep 18, 2026

Trust & integrity

Signalgpt-neoxMegatron-LM
Maintenance
Active (13d since push)
As of Sep 18, 2026 · github_public_v1
Very active (0d since push)
As of Sep 18, 2026 · github_public_v1
Provenance
Not a fork · Organization account
As of Sep 18, 2026 · github_public_v1
Not a fork · Organization account
As of Sep 18, 2026 · github_public_v1
OSV dependency advisories
No lockfile (source not queried)
As of Sep 18, 2026 · osv@v1
No lockfile (source not queried)
As of Sep 18, 2026 · osv@v1
deps.dev advisories
Not queried
deps.dev@v1
Not queried
deps.dev@v1
OpenSSF Scorecard
Not queried
openssf-scorecard@v1
Not queried
openssf-scorecard@v1

Tagline

gpt-neox
Model parallel autoregressive transformers on GPUs
Megatron-LM
Ongoing research training transformer models at scale

Stars

gpt-neox
7.5k
Megatron-LM
18k

Forks

gpt-neox
1.1k
Megatron-LM
4.5k

Open issues

gpt-neox
118
Megatron-LM
1.4k

Language

gpt-neox
Python
Megatron-LM
Python

Adopt for

gpt-neox
GPT-NeoX is a model parallel autoregressive transformer implementation on GPUs, leveraging Megatron and DeepSpeed libraries.
Megatron-LM
Megatron-LM is a research project by NVIDIA for training large transformer models at scale, emphasizing parallelism strategies across multiple GPUs.

Persona

gpt-neox
-
Megatron-LM
-

Runtime

gpt-neox
-
Megatron-LM
-

License

gpt-neox
GPT-NeoX is licensed under the Apache License, Version 2.0, which allows for free use, modification, and distribution of the software, provided that the license terms are adhered to.
Megatron-LM
The license for Megatron-LM is categorized as 'Other', indicating that it may have specific terms and conditions that differ from standard open-source licenses.

Last pushed

gpt-neox
Sep 4, 2026
Megatron-LM
Sep 18, 2026

Categories

gpt-neox
LLM Frameworks, Model Training
Megatron-LM
Model Training

Trust and health

Maintenance

gpt-neox
Active (82%)
Megatron-LM
Very active (96%)

Days since push

gpt-neox
13d
Megatron-LM
0d

Open issues (now)

gpt-neox
118
Megatron-LM
1.4k

Stars delta

gpt-neox
+9 (30d)
Megatron-LM
+597 (30d)

Open issues delta

gpt-neox
+7 (30d)
Megatron-LM
+256 (30d)

Full report

gpt-neox
Trust report
Megatron-LM
Trust report

Choose gpt-neox if…

  • License: gpt-neox is Apache-2.0, Megatron-LM is Other.
  • Requirements: Min 16 GB RAM; Requires GPU support for optimal performance.; Integration with Megatron and DeepSpeed libraries is essential for full functionality..
  • Tags unique to gpt-neox: autoregressive-transformers, deepspeed-library, gpt-3, language-model.
  • Also covers LLM Frameworks.
  • When you need to train large language models on GPUs and require model parallelism to handle the computational demands.

When NOT to use gpt-neox

  • If your project does not require the scale of model parallelism and can be handled with single-GPU setups, GPT-NeoX might introduce unnecessary complexity.
  • When the specific features of Megatron and DeepSpeed are not aligned with your project's needs, opting for a simpler framework might be more suitable.

Choose Megatron-LM if…

  • License: Megatron-LM is Other, gpt-neox is Apache-2.0.
  • Requirements: Building from source can be memory-intensive, and users may need to limit parallel compilation jobs by setting MAX_JOBS to manage memory usage..
  • Tags unique to Megatron-LM: large-language-models, model-para, nvidia, parallelism.
  • Use Megatron-LM when you need to train large transformer models and have access to multiple GPUs, as it excels in parallelism strategies like tensor parallelism (TP), pipeline parallelism (PP), data-2

When NOT to use Megatron-LM

  • Avoid using Megatron-LM if your project does not require large-scale model training or if you do not have access to multiple GPUs, as its benefits are most pronounced in these scenarios.
  • Do not use Megatron-LM if your team lacks the expertise to handle complex parallelism strategies or if your infrastructure cannot support the memory and computational demands of building from source.

Explore

Sources

Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.

GitHub stars on cards: gpt-neox 7.5k · Megatron-LM 18k (synced Sep 20, 2026).

Common questions

What is the difference between gpt-neox and Megatron-LM?
gpt-neox: Model parallel autoregressive transformers on GPUs. Megatron-LM: Ongoing research training transformer models at scale. See the comparison table for live GitHub stats and shared categories.
When should I choose gpt-neox over Megatron-LM?
Choose gpt-neox over Megatron-LM when License: gpt-neox is Apache-2.0, Megatron-LM is Other; Requirements: Min 16 GB RAM; Requires GPU support for optimal performance.; Integration with Megatron and DeepSpeed libraries is essential for full functionality.; Tags unique to gpt-neox: autoregressive-transformers, deepspeed-library, gpt-3, language-model; Also covers LLM Frameworks; When you need to train large language models on GPUs and require model parallelism to handle the computational demands.
When should I choose Megatron-LM over gpt-neox?
Choose Megatron-LM over gpt-neox when License: Megatron-LM is Other, gpt-neox is Apache-2.0; Requirements: Building from source can be memory-intensive, and users may need to limit parallel compilation jobs by setting MAX_JOBS to manage memory usage.; Tags unique to Megatron-LM: large-language-models, model-para, nvidia, parallelism; Use Megatron-LM when you need to train large transformer models and have access to multiple GPUs, as it excels in parallelism strategies like tensor parallelism (TP), pipeline parallelism (PP), data-2.
When should I avoid gpt-neox?
If your project does not require the scale of model parallelism and can be handled with single-GPU setups, GPT-NeoX might introduce unnecessary complexity. When the specific features of Megatron and DeepSpeed are not aligned with your project's needs, opting for a simpler framework might be more suitable.
When should I avoid Megatron-LM?
Avoid using Megatron-LM if your project does not require large-scale model training or if you do not have access to multiple GPUs, as its benefits are most pronounced in these scenarios. Do not use Megatron-LM if your team lacks the expertise to handle complex parallelism strategies or if your infrastructure cannot support the memory and computational demands of building from source.
Is gpt-neox or Megatron-LM more popular on GitHub?
Megatron-LM has more GitHub stars (17,938 vs 7,461). Stars measure visibility, not whether either tool fits your constraints.
Are gpt-neox and Megatron-LM open source?
Yes - both are open-source projects on GitHub (gpt-neox: Apache-2.0, Megatron-LM: Other).
Where can I find alternatives to gpt-neox or Megatron-LM?
GraphCanon lists graph-backed alternatives at gpt-neox alternatives and Megatron-LM alternatives (gpt-neox markdown twin, Megatron-LM markdown twin), ranked by typed relationship edges rather than popularity votes.
Is there a machine-readable version of this comparison?
Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
Which is better maintained, gpt-neox or Megatron-LM?
gpt-neox: Active. Megatron-LM: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
Where are the full trust reports for gpt-neox and Megatron-LM?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: gpt-neox trust report; Megatron-LM trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.