{"id":37071420,"url":"https://github.com/mdominijanni/pyromancy","last_synced_at":"2026-01-14T08:22:45.607Z","repository":{"id":301047671,"uuid":"1000811233","full_name":"mdominijanni/pyromancy","owner":"mdominijanni","description":"A Compact Library for Predictive Coding with PyTorch","archived":false,"fork":false,"pushed_at":"2025-10-01T03:59:35.000Z","size":2275,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-27T19:46:16.011Z","etag":null,"topics":["deep-learning","machine-learning","predictive-coding","python","pytorch"],"latest_commit_sha":null,"homepage":"https://pyromancy.ai","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdominijanni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-12T11:03:34.000Z","updated_at":"2025-07-05T13:58:47.000Z","dependencies_parsed_at":"2025-06-24T22:40:41.034Z","dependency_job_id":"2405ab4f-15b1-4777-8fa3-3dde4a4a8da7","html_url":"https://github.com/mdominijanni/pyromancy","commit_stats":null,"previous_names":["mdominijanni/pyromancy"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mdominijanni/pyromancy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdominijanni%2Fpyromancy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdominijanni%2Fpyromancy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdominijanni%2Fpyromancy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdominijanni%2Fpyromancy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdominijanni","download_url":"https://codeload.github.com/mdominijanni/pyromancy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdominijanni%2Fpyromancy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:16:59.381Z","status":"ssl_error","status_checked_at":"2026-01-14T08:13:45.490Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","machine-learning","predictive-coding","python","pytorch"],"created_at":"2026-01-14T08:22:44.968Z","updated_at":"2026-01-14T08:22:45.595Z","avatar_url":"https://github.com/mdominijanni.png","language":"Python","readme":"![Pyromancy Header](misc/assets/pyromancy-github-header.png)\n\n[![PyPI - Version](https://img.shields.io/pypi/v/pyromancy-ai.svg)](https://pypi.org/project/pyromancy-ai)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyromancy-ai.svg)](https://pypi.org/project/pyromancy-ai)\n\n-----\n\n## About\nPyromancy is a compact library for [predictive coding](https://arxiv.org/abs/2407.04117), implemented using [PyTorch](https://github.com/pytorch/pytorch). It takes a minimal approach, providing the core components for building and training predictive coding networks.\n\n## Installation\nPyromancy is available as a package on PyPI and can be installed as follows.\n\n```bash\npip install pyromancy-ai\n```\n\nBy default, this installs the `torch` and `torchvision` packages with *only* CPU support (Linux/Windows) or support for CPU and MPS (macOS). To include support for CUDA or ROCm, a corresponding ``extra-index-url`` must be specified.\n\n```bash\npip install pyromancy-ai --extra-index-url https://download.pytorch.org/whl/cu128\n```\n\nInstalling with this command includes support for CPU and for CUDA 12.8. The installation options can be found on PyTorch's [getting started](https://pytorch.org/get-started/locally/) page.\n\n## Getting Started\nSee the example, [Classifying MNIST with a Hierarchical PCN](https://pyromancy.ai/en/latest/tutorials/mnist-classifier-pcn.html), for a complete worked-out example of how to build and train a predictive coding network.\n\n## License\nPyromancy is distributed under the terms of the [BSD-3-Clause](https://spdx.org/licenses/BSD-3-Clause.html) license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdominijanni%2Fpyromancy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdominijanni%2Fpyromancy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdominijanni%2Fpyromancy/lists"}