maekawatoshiki / altius Goto Github PK
View Code? Open in Web Editor NEWSmall ONNX inference runtime written in Rust
License: MIT License
Small ONNX inference runtime written in Rust
License: MIT License
Hello!
was looking to play with this as part of a larger rust program. Is it possible to publish the core to crates.io so I can import the inference part of this and build my own tooling around it?
core support completed (interpreter not yet):
Hi, I tried this repo, looks nice!
I think you had better state explicitly in README that installation of git-lfs is required to clone and try this repo properly.
Supported kernels:
The following examples have been tested and work well:
softmax
.runtime | softmax in gpt2 (ms) |
---|---|
onnxruntime | 1.5 |
altius | 2.4 |
It seems to be ideal for the function to have a signature such as:
impl Model {
fn compute_output_shapes(&self, node: &Node, inputs: &[&Tensor]) ->
Result<(Op, Vec<TypedFixedShape>)>;
}
struct GraphModifier
or something like that, to easily implement graph modification code.Current implementation does not care about onnx opset version.
Part of #10
Expand
Sigmoid
(with SIMD exp)Resize
Split
(opset < 13)A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.