{"id":13643252,"url":"https://github.com/maekawatoshiki/altius","last_synced_at":"2025-04-07T14:13:19.428Z","repository":{"id":37618818,"uuid":"404956331","full_name":"maekawatoshiki/altius","owner":"maekawatoshiki","description":"Small ONNX inference runtime written in Rust","archived":false,"fork":false,"pushed_at":"2024-10-08T02:23:24.000Z","size":4389,"stargazers_count":92,"open_issues_count":11,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-19T10:42:19.641Z","etag":null,"topics":["deep-neural-networks","onnx","rust","wasm"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maekawatoshiki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-09-10T04:31:36.000Z","updated_at":"2024-10-15T07:05:32.000Z","dependencies_parsed_at":"2023-10-21T17:27:13.011Z","dependency_job_id":"d92a3556-dc90-4af0-8660-77cac17b8c22","html_url":"https://github.com/maekawatoshiki/altius","commit_stats":{"total_commits":961,"total_committers":2,"mean_commits":480.5,"dds":"0.21331945889698234","last_synced_commit":"493eaa38dfc3495ea33f205563e4f21a7f4ef76e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Faltius","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Faltius/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Faltius/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maekawatoshiki%2Faltius/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maekawatoshiki","download_url":"https://codeload.github.com/maekawatoshiki/altius/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247666014,"owners_count":20975788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-neural-networks","onnx","rust","wasm"],"created_at":"2024-08-02T01:01:44.600Z","updated_at":"2025-04-07T14:13:19.389Z","avatar_url":"https://github.com/maekawatoshiki.png","language":"Rust","funding_links":[],"categories":["Lighter and Deployment Frameworks","Machine Learning"],"sub_categories":[],"readme":"\u003cdiv align=center\u003e\n    \u003ch1\u003eAltius\u003c/h1\u003e\n    \u003ca href=\"https://github.com/maekawatoshiki/altius/actions/workflows/ci.yml\" target=\"_blank\"\u003e\n        \u003cimg alt=\"CI\" src=\"https://img.shields.io/github/actions/workflow/status/maekawatoshiki/altius/ci.yml?branch=main\u0026style=for-the-badge\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/maekawatoshiki/altius\" target=\"_blank\"\u003e\n        \u003cimg alt=\"Coverage\" src=\"https://img.shields.io/codecov/c/gh/maekawatoshiki/altius?style=for-the-badge\"\u003e\n    \u003c/a\u003e\n    \u003cbr /\u003e\n    Small ONNX inference runtime written in Rust.\n    \u003cbr /\u003e\n    Feel free to create\n    \u003ca href=\"https://github.com/maekawatoshiki/altius/issues\" target=\"_blank\"\u003e\n        issues\n    \u003c/a\u003e\n    and \n    \u003ca href=\"https://github.com/maekawatoshiki/altius/discussions\" target=\"_blank\"\u003e\n        discussions!\n    \u003c/a\u003e\n\u003c/div\u003e\n\n# Requirements\n\n- cargo\n- uv\n\n# Run\n\n```sh\n# Download models.\n(cd models \u0026\u0026 ./download.sh)\n# Download minimum models.\n# (cd models \u0026\u0026 ./download.sh CI)\n\n# Run examples.\n# {mnist, mobilenet, deit, vit} are available.\n# You can specify the number of threads for computation by editing the code.\ncargo run --release --example mnist\ncargo run --release --example mobilenet\ncargo run --release --example deit\ncargo run --release --example vit\n\n# Experimental CPU backend (that generates code in C)\ncargo run --release --example mnist_cpu     -- --iters 10 \ncargo run --release --example mobilenet_cpu -- --iters 10 --profile\ncargo run --release --example deit_cpu      -- --iters 10 --threads 8 --profile\n```\n\n# Run from WebAssembly\n\nCurrently, mobilenet v3 runs on web browsers.\n\n```sh\ncd wasm\ncargo install wasm-pack\nwasm-pack build --target web\nyarn\nyarn serve\n```\n\n# Run from Python\n\n```sh\ncd ./crates/altius_py\nuv sync\nuv run maturin develop -r\nuv run python mobilenet.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaekawatoshiki%2Faltius","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaekawatoshiki%2Faltius","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaekawatoshiki%2Faltius/lists"}