{"adoption": {"forks": 447, "observed_at": "2026-08-28T04:09:19.705546+00:00", "stars": 5479}, "canonical_url": "https://ross.abutalabs.com/products/tch-rs", "card": {"archived": false, "artifact_type": "library", "description": "Rust bindings for the C++ api of PyTorch.", "domain": ["machine-learning", "deep-learning", "artificial-intelligence"], "enriched": true, "function": ["machine-learning", "deep-learning", "llm-training", "gpu-computing"], "health_score": 79, "homepage": null, "language": "Rust", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["LaurentMazare/tch-rs"], "name": "LaurentMazare/tch-rs", "platform": ["rust", "windows"], "pushed_at": "2026-08-23T16:46:54+00:00", "repo": "LaurentMazare/tch-rs", "stars": 5479, "tags": ["pytorch", "libtorch", "tensors", "neural-networks", "bindings", "linux", "macos", "gpu"], "topics": ["pytorch", "rust", "machine-learning", "neural-network", "deep-learning"], "urls": [], "use_cases": ["train neural networks in rust", "run pytorch models from rust", "tensor computations in rust", "deep learning inference without python", "gpu-accelerated machine learning in rust", "port pytorch code to rust"], "what_it_is": "tch-rs is a Rust crate providing thin bindings to the C++ API of PyTorch (libtorch), staying close to the original API. It enables tensor operations and neural network training/inference in Rust with optional CUDA support.", "when_to_avoid": ["you want highly idiomatic Rust ML APIs rather than C++-style bindings", "you need a pure-Rust implementation without libtorch dependencies", "you primarily work in Python"], "when_to_choose": ["you want PyTorch's tensor and autograd capabilities in a Rust program", "you need to deploy models in Rust without a Python runtime", "you want low-level, close-to-libtorch control"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tch-rs", "repo": "LaurentMazare/tch-rs", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.705546+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:56:42.112012+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0cefe92a9924b0c0e040a4dd3f261ab60cf63f7333d905292dd0b3304e19aa6", "fetched_at": "2026-08-28T04:09:19.705546+00:00", "kind": "readme", "missing": false, "url": "https://github.com/LaurentMazare/tch-rs"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.705546+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:56:42.112012+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0cefe92a9924b0c0e040a4dd3f261ab60cf63f7333d905292dd0b3304e19aa6", "fetched_at": "2026-08-28T04:09:19.705546+00:00", "kind": "readme", "missing": false, "url": "https://github.com/LaurentMazare/tch-rs"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:56:42.112012+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0cefe92a9924b0c0e040a4dd3f261ab60cf63f7333d905292dd0b3304e19aa6", "fetched_at": "2026-08-28T04:09:19.705546+00:00", "kind": "readme", "missing": false, "url": "https://github.com/LaurentMazare/tch-rs"}], "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:09:19.705546+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.705546+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.705546+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:56:42.112012+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0cefe92a9924b0c0e040a4dd3f261ab60cf63f7333d905292dd0b3304e19aa6", "fetched_at": "2026-08-28T04:09:19.705546+00:00", "kind": "readme", "missing": false, "url": "https://github.com/LaurentMazare/tch-rs"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.705546+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.705546+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:56:42.112012+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0cefe92a9924b0c0e040a4dd3f261ab60cf63f7333d905292dd0b3304e19aa6", "fetched_at": "2026-08-28T04:09:19.705546+00:00", "kind": "readme", "missing": false, "url": "https://github.com/LaurentMazare/tch-rs"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.705546+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.705546+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.705546+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:56:42.112012+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0cefe92a9924b0c0e040a4dd3f261ab60cf63f7333d905292dd0b3304e19aa6", "fetched_at": "2026-08-28T04:09:19.705546+00:00", "kind": "readme", "missing": false, "url": "https://github.com/LaurentMazare/tch-rs"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.705546+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.705546+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:56:42.112012+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0cefe92a9924b0c0e040a4dd3f261ab60cf63f7333d905292dd0b3304e19aa6", "fetched_at": "2026-08-28T04:09:19.705546+00:00", "kind": "readme", "missing": false, "url": "https://github.com/LaurentMazare/tch-rs"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:56:42.112012+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0cefe92a9924b0c0e040a4dd3f261ab60cf63f7333d905292dd0b3304e19aa6", "fetched_at": "2026-08-28T04:09:19.705546+00:00", "kind": "readme", "missing": false, "url": "https://github.com/LaurentMazare/tch-rs"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:56:42.112012+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0cefe92a9924b0c0e040a4dd3f261ab60cf63f7333d905292dd0b3304e19aa6", "fetched_at": "2026-08-28T04:09:19.705546+00:00", "kind": "readme", "missing": false, "url": "https://github.com/LaurentMazare/tch-rs"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:56:42.112012+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0cefe92a9924b0c0e040a4dd3f261ab60cf63f7333d905292dd0b3304e19aa6", "fetched_at": "2026-08-28T04:09:19.705546+00:00", "kind": "readme", "missing": false, "url": "https://github.com/LaurentMazare/tch-rs"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2755, "days_push": 10, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}