{"adoption": {"forks": 206, "observed_at": "2026-08-28T04:05:00.249489+00:00", "stars": 1538}, "canonical_url": "https://ross.abutalabs.com/products/nn-cuda-example", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Several simple examples for popular neural network toolkits calling custom CUDA operators.", "domain": ["deep-learning", "gpu-computing", "tutorials", "developer-tools"], "enriched": true, "function": ["machine-learning", "gpu-computing", "developer-tools", "benchmarking"], "health_score": 20, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["godweiyang/NN-CUDA-Example"], "name": "godweiyang/NN-CUDA-Example", "platform": ["python", "cpp"], "pushed_at": "2021-04-29T10:10:08+00:00", "repo": "godweiyang/NN-CUDA-Example", "stars": 1538, "tags": ["cuda-kernels", "pytorch", "tensorflow", "custom-operators", "example-code", "jit-compilation", "cmake", "setuptools", "linux", "gpu"], "topics": ["pytorch", "tensorflow", "cuda", "cpp", "python", "neural-network"], "urls": [], "use_cases": ["learn how to write a custom CUDA kernel for PyTorch", "compile and call custom CUDA operators from TensorFlow", "compare performance of custom CUDA kernels against built-in torch ops", "set up CMake builds for CUDA extensions", "benchmark CUDA kernel execution time", "implement custom backward propagation in PyTorch"], "what_it_is": "A collection of simple example projects showing how to write custom CUDA operators and call them from PyTorch and TensorFlow. It demonstrates three compilation approaches (JIT, setuptools, CMake) along with kernel timing and model training code.", "when_to_avoid": ["you need production-ready, maintained CUDA extension tooling", "you use CUDA versions or frameworks other than the pinned environment (CUDA 11.0, PyTorch 1.7, TF 2.4)", "you want a library or API rather than example code"], "when_to_choose": ["you are learning to integrate custom CUDA kernels with PyTorch or TensorFlow", "you want minimal, readable reference code for CUDA extension compilation", "you need examples of kernel timing and training with custom ops"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/nn-cuda-example", "repo": "godweiyang/NN-CUDA-Example", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.249489+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:30:57.543445+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f18caeeb5dcb96d1d209dcff7501eb9f60ab9f2d10ee45839cc7e3bead120b", "fetched_at": "2026-08-28T04:05:00.249489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/godweiyang/NN-CUDA-Example"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.249489+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:30:57.543445+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f18caeeb5dcb96d1d209dcff7501eb9f60ab9f2d10ee45839cc7e3bead120b", "fetched_at": "2026-08-28T04:05:00.249489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/godweiyang/NN-CUDA-Example"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:30:57.543445+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f18caeeb5dcb96d1d209dcff7501eb9f60ab9f2d10ee45839cc7e3bead120b", "fetched_at": "2026-08-28T04:05:00.249489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/godweiyang/NN-CUDA-Example"}], "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:05:00.249489+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.249489+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.249489+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:30:57.543445+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f18caeeb5dcb96d1d209dcff7501eb9f60ab9f2d10ee45839cc7e3bead120b", "fetched_at": "2026-08-28T04:05:00.249489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/godweiyang/NN-CUDA-Example"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.249489+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.249489+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:30:57.543445+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f18caeeb5dcb96d1d209dcff7501eb9f60ab9f2d10ee45839cc7e3bead120b", "fetched_at": "2026-08-28T04:05:00.249489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/godweiyang/NN-CUDA-Example"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.249489+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.249489+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.249489+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:30:57.543445+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f18caeeb5dcb96d1d209dcff7501eb9f60ab9f2d10ee45839cc7e3bead120b", "fetched_at": "2026-08-28T04:05:00.249489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/godweiyang/NN-CUDA-Example"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.249489+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.249489+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:30:57.543445+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f18caeeb5dcb96d1d209dcff7501eb9f60ab9f2d10ee45839cc7e3bead120b", "fetched_at": "2026-08-28T04:05:00.249489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/godweiyang/NN-CUDA-Example"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:30:57.543445+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f18caeeb5dcb96d1d209dcff7501eb9f60ab9f2d10ee45839cc7e3bead120b", "fetched_at": "2026-08-28T04:05:00.249489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/godweiyang/NN-CUDA-Example"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:30:57.543445+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f18caeeb5dcb96d1d209dcff7501eb9f60ab9f2d10ee45839cc7e3bead120b", "fetched_at": "2026-08-28T04:05:00.249489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/godweiyang/NN-CUDA-Example"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:30:57.543445+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f18caeeb5dcb96d1d209dcff7501eb9f60ab9f2d10ee45839cc7e3bead120b", "fetched_at": "2026-08-28T04:05:00.249489+00:00", "kind": "readme", "missing": false, "url": "https://github.com/godweiyang/NN-CUDA-Example"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "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": 1994, "days_push": 1952, "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}}