{"adoption": {"forks": 226, "observed_at": "2026-08-28T04:07:45.751776+00:00", "stars": 3138}, "canonical_url": "https://ross.abutalabs.com/products/torchscale", "card": {"archived": false, "artifact_type": "library", "description": "Foundation Architecture for (M)LLMs", "domain": ["deep-learning", "large-language-models", "computer-vision", "speech-processing"], "enriched": true, "function": ["deep-learning", "machine-learning", "llm-training"], "health_score": 20, "homepage": "https://aka.ms/GeneralAI", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["microsoft/torchscale"], "name": "microsoft/torchscale", "platform": ["python"], "pushed_at": "2024-04-11T13:58:57+00:00", "repo": "microsoft/torchscale", "stars": 3138, "tags": ["transformer-architectures", "foundation-models", "mixture-of-experts", "retnet", "longnet", "bitnet", "pytorch", "research", "natural-language-processing", "gpu"], "topics": ["computer-vision", "machine-learning", "multimodal", "natural-language-processing", "pretrained-language-model", "speech-processing", "transformer", "translation"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/torchscale", "repo": "microsoft/torchscale", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.751776+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:26:03.989267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "739122ddc8da60aaaaee73ef24a3dacbf882124387c350a325724ece1f002cd4", "fetched_at": "2026-08-28T04:07:45.751776+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/torchscale"}, {"content_hash": "084c7c871c88601f0d37c2baae9bbaf0da319dca2a4aa0439f2b1162b5fffe0f", "fetched_at": "2026-08-29T09:40:46.852277+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchscale/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.751776+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:26:03.989267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "739122ddc8da60aaaaee73ef24a3dacbf882124387c350a325724ece1f002cd4", "fetched_at": "2026-08-28T04:07:45.751776+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/torchscale"}, {"content_hash": "084c7c871c88601f0d37c2baae9bbaf0da319dca2a4aa0439f2b1162b5fffe0f", "fetched_at": "2026-08-29T09:40:46.852277+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchscale/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:26:03.989267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "739122ddc8da60aaaaee73ef24a3dacbf882124387c350a325724ece1f002cd4", "fetched_at": "2026-08-28T04:07:45.751776+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/torchscale"}, {"content_hash": "084c7c871c88601f0d37c2baae9bbaf0da319dca2a4aa0439f2b1162b5fffe0f", "fetched_at": "2026-08-29T09:40:46.852277+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchscale/json"}], "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:07:45.751776+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.751776+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.751776+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:26:03.989267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "739122ddc8da60aaaaee73ef24a3dacbf882124387c350a325724ece1f002cd4", "fetched_at": "2026-08-28T04:07:45.751776+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/torchscale"}, {"content_hash": "084c7c871c88601f0d37c2baae9bbaf0da319dca2a4aa0439f2b1162b5fffe0f", "fetched_at": "2026-08-29T09:40:46.852277+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchscale/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.751776+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.751776+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:26:03.989267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "739122ddc8da60aaaaee73ef24a3dacbf882124387c350a325724ece1f002cd4", "fetched_at": "2026-08-28T04:07:45.751776+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/torchscale"}, {"content_hash": "084c7c871c88601f0d37c2baae9bbaf0da319dca2a4aa0439f2b1162b5fffe0f", "fetched_at": "2026-08-29T09:40:46.852277+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchscale/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.751776+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.751776+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.751776+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:26:03.989267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "739122ddc8da60aaaaee73ef24a3dacbf882124387c350a325724ece1f002cd4", "fetched_at": "2026-08-28T04:07:45.751776+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/torchscale"}, {"content_hash": "084c7c871c88601f0d37c2baae9bbaf0da319dca2a4aa0439f2b1162b5fffe0f", "fetched_at": "2026-08-29T09:40:46.852277+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchscale/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.751776+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:45.751776+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:26:03.989267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "739122ddc8da60aaaaee73ef24a3dacbf882124387c350a325724ece1f002cd4", "fetched_at": "2026-08-28T04:07:45.751776+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/torchscale"}, {"content_hash": "084c7c871c88601f0d37c2baae9bbaf0da319dca2a4aa0439f2b1162b5fffe0f", "fetched_at": "2026-08-29T09:40:46.852277+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchscale/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:26:03.989267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "739122ddc8da60aaaaee73ef24a3dacbf882124387c350a325724ece1f002cd4", "fetched_at": "2026-08-28T04:07:45.751776+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/torchscale"}, {"content_hash": "084c7c871c88601f0d37c2baae9bbaf0da319dca2a4aa0439f2b1162b5fffe0f", "fetched_at": "2026-08-29T09:40:46.852277+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchscale/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:26:03.989267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "739122ddc8da60aaaaee73ef24a3dacbf882124387c350a325724ece1f002cd4", "fetched_at": "2026-08-28T04:07:45.751776+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/torchscale"}, {"content_hash": "084c7c871c88601f0d37c2baae9bbaf0da319dca2a4aa0439f2b1162b5fffe0f", "fetched_at": "2026-08-29T09:40:46.852277+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchscale/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:26:03.989267+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "739122ddc8da60aaaaee73ef24a3dacbf882124387c350a325724ece1f002cd4", "fetched_at": "2026-08-28T04:07:45.751776+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/torchscale"}, {"content_hash": "084c7c871c88601f0d37c2baae9bbaf0da319dca2a4aa0439f2b1162b5fffe0f", "fetched_at": "2026-08-29T09:40:46.852277+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchscale/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 98, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1385, "days_push": 874, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}