ort
Fast ML inference & training for ONNX models in Rust
File Explorer
Download Latest Version (.zip)- config.toml
- backends.yml
- code-quality.yml
- custom-static-link.yml
- other-checks.yml
- test.yml
- FUNDING.yml
- extensions.json
- settings.json
- build.rs
- Cargo.toml
- lib.rs
- memory.rs
- tensor.rs
- api.rs
- Cargo.toml
- lib.rs
- memory.rs
- session.rs
- tensor.rs
- build.rs
- Cargo.toml
- lib.rs
- memory.rs
- session.rs
- tensor.rs
- api.rs
- Cargo.toml
- lib.rs
- memory.rs
- session.rs
- tensor.rs
- settings.json
- mod.rs
- session.rs
- tensor.rs
- _loader.js
- _telemetry.js
- api.rs
- Cargo.toml
- env.rs
- lib.rs
- memory.rs
- private.rs
- session.rs
- tensor.rs
- util.rs
- page.tsx
- MonaspaceNeon-Regular.otf
- route.tsx
- TASAExplorer-Bold.otf
- TASAOrbiter-Regular.otf
- favicon.ico
- globals.css
- layout.tsx
- ExecutionProviders.tsx
- FooterEmoji.tsx
- Ort.tsx
- PlatformSelector.tsx
- PlatformSupport.module.css
- PlatformSupport.tsx
- Sponsors.tsx
- _meta.tsx
- candle.mdx
- index.mdx
- tract.mdx
- web.mdx
- value.mdx
- _meta.tsx
- prebuilt-binaries.mdx
- version-mapping.mdx
- execution-providers.mdx
- io-binding.mdx
- _meta.tsx
- cargo-features.mdx
- linking.mdx
- multiversion.mdx
- platforms.mdx
- _meta.tsx
- compiling.mdx
- logging.mdx
- performance.mdx
- _meta.tsx
- index.mdx
- ep.tsx
- platform.tsx
- utils.ts
- _api-version-feature.webp
- banner.png
- casting-map.png
- icon.png
- sample-onnx-graph.png
- trend-banner.png
- .gitignore
- constants.ts
- mdx-components.ts
- next.config.ts
- package.json
- pnpm-lock.yaml
- tsconfig.json
- tokenizer.json
- async-gpt2-api.rs
- Cargo.toml
- demo.png
- mod.rs
- photo.jpg
- Cargo.toml
- cudarc.rs
- Cargo.toml
- custom-ops.rs
- tokenizer.json
- Cargo.toml
- demo.png
- gpt2.rs
- Cargo.toml
- demo.png
- model-info.rs
- photo.jpg
- Cargo.toml
- demo.png
- modnet.rs
- .gitignore
- download.sh
- example.jpg
- genai_config.json
- image_process.rs
- main.rs
- Cargo.toml
- README.md
- tokenizer.json
- Cargo.toml
- demo.png
- semantic-similarity.rs
- pretokenize.rs
- Cargo.toml
- README.md
- train-clm-simple.rs
- train-clm.rs
- settings.json
- detection.rs
- lib.rs
- resize.rs
- ssd_anchors.rs
- Cargo.toml
- index.html
- baseball.jpg
- Cargo.toml
- demo.png
- yolov8.rs
- README.md
- dist.tsv
- extract.rs
- mod.rs
- resolve.rs
- verify.rs
- apple.rs
- mod.rs
- dynamic_link.rs
- error.rs
- log.rs
- main.rs
- pkg_config.rs
- vars.rs
- dirs.rs
- mod.rs
- lib.rs
- link_error.rs
- stub.rs
- version.rs
- Cargo.toml
- LICENSE-APACHE
- LICENSE-MIT
- mod.rs
- tests.rs
- acl.rs
- armnn.rs
- azure.rs
- cann.rs
- coreml.rs
- cpu.rs
- cuda.rs
- directml.rs
- migraphx.rs
- mod.rs
- nnapi.rs
- nvrtx.rs
- onednn.rs
- openvino.rs
- qnn.rs
- rknpu.rs
- rocm.rs
- tensorrt.rs
- tvm.rs
- vitis.rs
- vsinpu.rs
- wasm.rs
- webgpu.rs
- webnn.rs
- xnnpack.rs
- attribute.rs
- erased.rs
- io.rs
- kernel.rs
- mod.rs
- tests.rs
- editable.rs
- impl_commit.rs
- impl_config_keys.rs
- impl_options.rs
- mod.rs
- adapter.rs
- async.rs
- input.rs
- io_binding.rs
- metadata.rs
- mod.rs
- output.rs
- run_options.rs
- args.rs
- callbacks.rs
- dataloader.rs
- mod.rs
- mod.rs
- trainer.rs
- map.rs
- mod.rs
- mutex_spin.rs
- mutex_std.rs
- ndarray.rs
- once_lock_spin.rs
- once_lock_std.rs
- stack.rs
- copy.rs
- create.rs
- element.rs
- extract.rs
- identity.ort
- mod.rs
- shape.rs
- impl_map.rs
- impl_sequence.rs
- mod.rs
- type.rs
- compiler.rs
- device.rs
- environment.rs
- error.rs
- lib.rs
- logging.rs
- memory.rs
- private.rs
- test_util.rs
- adapter.orl
- attr_tester.onnx
- copy_2_inputs_2_outputs.onnx
- copy_3_inputs_3_outputs.onnx
- custom_op_test.onnx
- imagenet-classes.txt
- lora_model.onnx
- mnist_5.jpg
- mushroom.png
- overridable_initializer.onnx
- upsample.onnx
- upsample.ort
- vectorizer.onnx
- Cargo.toml
- main.rs
- mnist.rs
- squeezenet.rs
- thread_manager.rs
- upsample.rs
- vectorizer.rs
- generate-models.py
- mini-clm.py
- api-coverage.ts
- requirements.txt
- training-api-coverage.ts
- .editorconfig
- .gitattributes
- .gitignore
- AGENTS.md
- Cargo.toml
- clippy.toml
- codecov.yml
- CONTRIBUTING.md
- LICENSE-APACHE
- LICENSE-MIT
- README.md
- rustfmt.toml
- SECURITY.md
# Installation Guide
1. Get the code
git clone https://github.com/pykeio/ort
Downloads the entire project code from GitHub to your computer.
cd ort
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r tools/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
3. Rust
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
