microsoft/torchscale
Foundation Architecture for (M)LLMs observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 98
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1385
- days_rel: n/a
- days_push: 874
- n_releases_24m: 0
Adoption not part of the score
3138 stars · 226 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PyTorch library from Microsoft implementing foundation Transformer architectures such as DeepNet, Magneto, RetNet, LongNet, BitNet, and X-MoE for scaling (multimodal) large language models. It provides encoder, decoder, and encoder-decoder building blocks with a focus on training stability, efficiency, and length extrapolation.
Use cases
- train large transformer models stably at extreme depth
- implement RetNet or LongNet architectures for LLM research
- build multimodal foundation models across language, vision, and speech
- experiment with sparse mixture-of-experts scaling
- create BERT-like encoders or GPT-like decoders in a few lines of code
When to choose
- you need research-grade Transformer architecture variants like RetNet, BitNet, or X-MoE
- you want stable training of very deep or very long-context Transformers
- you are building foundation models spanning multiple modalities
When to avoid
- you just need a production LLM inference server or fine-tuning framework
- you want a high-level API like Hugging Face Transformers with pretrained checkpoints
- you need a non-PyTorch framework such as JAX or TensorFlow
Facets
library · maturity maintenance
deep-learning machine-learning llm-training deep-learning large-language-models computer-vision speech-processing python transformer-architectures foundation-models mixture-of-experts retnet longnet bitnet pytorch research natural-language-processing gpu
2 sources
- readme: https://github.com/microsoft/torchscale · fetched 2026-08-28 · 739122ddc8da
- registry_pypi: https://pypi.org/pypi/torchscale/json · fetched 2026-08-29 · 084c7c871c88
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/torchscale | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/torchscale")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem