Repository navigation
Add AGENTS.md, architecture docs, and a review TODO with upgrade roadmap - #53
reidmorrison wants to merge 1 commit into
Conversation
Adds maintainer and agent documentation from a full review of main (55dc3de) on Elixir 1.20.4 / OTP 29.1.2 / Rust 1.99.1: - AGENTS.md: setup, commands, gotchas, design rules, recipes - docs/: architecture, Elixir and native layers, build and packaging, execution providers, testing and CI, and an upgrade guide for Nx 1.0 / Rustler 0.39 / ort 2.0.0-rc.15 (ONNX Runtime 1.31) - TODO.md: prioritized findings, issue and PR triage, phased roadmap Docs only; no code changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Hi @mortont and @josevalim, Thanks for Ortex. We use it, and we'd like to help get it current. This PR is documentation only. Before the larger work, we'd like to propose a small 0.1.11 patch release on the current Why a patch release first
Proposed scope for 0.1.11 (each item maps to an ID in
Most of these fixes already exist in #47, so we'd pull them out into a small PR, which also starts the split you asked for there. After that, the roadmap continues with the rest of #47's modernization, then Section 1 of If this direction works for you, we can open the 0.1.11 PR right away. Because of the Rust 1.100 date, it would be good to release before mid-November. Happy to adjust the scope to whatever you prefer. |
Summary
This is a docs-only PR (no code changes). It adds maintainer and contributor documentation from a full review of
main(55dc3de), plus a prioritized TODO and a phased roadmap for getting Ortex onto Nx 1.0 and the latest ONNX Runtime. We would like to help implement the roadmap if it is useful.AGENTS.md: setup, commands, gotchas, design rules, and recipes for contributors and AI coding agents.docs/: architecture, the Elixir and native layers, build and packaging, execution providers, testing and CI, and an upgrade guide for Nx 1.0, Rustler 0.39, andort2.0.0-rc.15 (ONNX Runtime 1.31).TODO.md: findings, a triage of all open issues and PRs, and the roadmap.Main findings
Verified on macOS arm64 with Elixir 1.20.4, OTP 29.1.2, and Rust 1.99.1.
maincompiles and all 117 tests pass. They also pass after bumping to Nx 1.0 and Hex Rustler 0.38 with no code changes. Two things block users today:Inspectfix.{:nx, "~> 0.6"}, which excludes Nx 1.0.ortrc.8. That includes CUDA/TensorRT and this repo's Linux CI. Reproduced on Rust 1.100.0-beta.7:ort-sys'scopy-dylibsfails with the new cargo build-dir layout.ortrc.14+ fixes it.ortrc.8 to rc.15 took about 172 changed lines in a compile probe. Modernise, update to Ort 2.0.0-rc.11 #47 already covers most of it. The real work is design:Session::runnow needs&mut self.Proposed order
The details are in
TODO.mdsection 2.ort:ortrc.15.Fork PRs were reviewed statically only.
🤖 Generated with Claude Code