{"id":28429406,"url":"https://github.com/tryolabs/nupic-simple-benchmark","last_synced_at":"2026-07-22T21:31:52.047Z","repository":{"id":208899439,"uuid":"721689882","full_name":"tryolabs/nupic-simple-benchmark","owner":"tryolabs","description":"Simple benchmark for NuPIC Inference Server","archived":false,"fork":false,"pushed_at":"2023-11-24T14:39:25.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-07T02:28:12.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tryolabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-21T15:18:28.000Z","updated_at":"2024-04-09T10:48:51.000Z","dependencies_parsed_at":"2023-11-23T22:25:20.053Z","dependency_job_id":"ba1e1095-56ea-4ed5-a84b-83c76fed410b","html_url":"https://github.com/tryolabs/nupic-simple-benchmark","commit_stats":null,"previous_names":["tryolabs/nupic-simple-benchmark"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tryolabs/nupic-simple-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryolabs%2Fnupic-simple-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryolabs%2Fnupic-simple-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryolabs%2Fnupic-simple-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryolabs%2Fnupic-simple-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tryolabs","download_url":"https://codeload.github.com/tryolabs/nupic-simple-benchmark/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryolabs%2Fnupic-simple-benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35778449,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-22T02:00:06.236Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-06-05T13:30:46.121Z","updated_at":"2026-07-22T21:31:52.043Z","avatar_url":"https://github.com/tryolabs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NuPIC Simple Benchmark\n\nThis repository contains the instructions and code used to benchmark NuPIC Inference Server in [this blogpost](https://tryolabs.com/blog/from-brain-to-binary-cpus-future-ai-inference).\n\n## Preparation\nYou need to have your Inference Server up and running in `localhost:8000`, and have the `nupic.client` package installed (see the blogpost for more details). Now you need to install the required dependencies with the following command:\n\n```bash\npip install transformers[torch]\n```\n\n## Download dataset\nRun the following commands to download and prepare the data:\n```bash\npip install kaggle\nkaggle datasets download -d sbhatti/financial-sentiment-analysis\nunzip financial-sentiment-analysis.zip\n```\n\n## Run\nNow you can run each of the experiments as:\n\n```bash\npython run_nupic.py\npython run_cpu.py\npython run_gpu.py\n```\n\nEach experiment will print inference time used to process the `5842` sentences.\n\n\n\n\u003e Contributions are welcome. Feel free to open any issues you might find when executing the code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftryolabs%2Fnupic-simple-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftryolabs%2Fnupic-simple-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftryolabs%2Fnupic-simple-benchmark/lists"}