# onnx runtime

Published articles for onnx runtime.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Oxidizing Cross-Encoders

DevFeed: [Oxidizing Cross-Encoders](<https://devfeed.tech/articles/oxidizing-cross-encoders-62450.md>)

Original publisher: [Read original article](<https://qdrant.tech/blog/oxidizing-cross-encoders/>)

Author: info@qdrant.tech (Andrey Vasnetsov)

Published: 2026-09-25T00:00:00Z

Content type: article

Language: en

Sources: [Qdrant Blog on Qdrant - Vector Search Engine](<https://devfeed.tech/sources/qdrant-blog-on-qdrant-vector-search-engine.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [onnx runtime](<https://devfeed.tech/topics/onnx-runtime.md>), [tokenizers](<https://devfeed.tech/topics/tokenizers.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Transformers](<https://devfeed.tech/topics/transformers.md>)

Tags: [approximate-nearest-neighbor-search](<https://devfeed.tech/tags/approximate-nearest-neighbor-search.md>), [bert](<https://devfeed.tech/tags/bert.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [fasttext](<https://devfeed.tech/tags/fasttext.md>), [hnsw](<https://devfeed.tech/tags/hnsw.md>), [image-search](<https://devfeed.tech/tags/image-search.md>), [knn-algorithm](<https://devfeed.tech/tags/knn-algorithm.md>), [matching](<https://devfeed.tech/tags/matching.md>), [neural-network](<https://devfeed.tech/tags/neural-network.md>), [onnx](<https://devfeed.tech/tags/onnx.md>), [onnx-runtime](<https://devfeed.tech/tags/onnx-runtime.md>), [python](<https://devfeed.tech/tags/python.md>), [qdrant](<https://devfeed.tech/tags/qdrant.md>), [recommender-system](<https://devfeed.tech/tags/recommender-system.md>), [rust](<https://devfeed.tech/tags/rust.md>), [saas](<https://devfeed.tech/tags/saas.md>), [sentence-transformers](<https://devfeed.tech/tags/sentence-transformers.md>), [simaes-networks](<https://devfeed.tech/tags/simaes-networks.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [transformer](<https://devfeed.tech/tags/transformer.md>), [vector-search](<https://devfeed.tech/tags/vector-search.md>), [vector-search-engine](<https://devfeed.tech/tags/vector-search-engine.md>), [vectors](<https://devfeed.tech/tags/vectors.md>), [word2vec](<https://devfeed.tech/tags/word2vec.md>)

### AI overview

The article describes rewriting cross-encoder inference in Rust as the cross-encode-rs library and comparing it with Python implementations that use the same ONNX Runtime C++ engine. The Rust version was 1.1x faster at the median on a small reranking model and about 1.4x faster on a larger one, while model load time did not improve.

### Source excerpt

We rewrote cross-encoder inference in Rust, benchmarked it against Python, and on a small reranking model it came out only 1.1x faster at the median. That is not a sign of a slow Rust implementation. The Python libraries we compared against, fastembed and sentence-transformers, hand the same work to the same C++ engine, onnxruntime, so all three spend almost all of their time in the same compiled code. In the Rust community, rewriting code in Rust is called "oxidizing" it, since rust is also what iron turns into when it oxidizes. This post covers how we oxidized cross-encoder inference into a library, cross-encode-rs, how it works, where it does pull ahead (about 1.4x on a larger model), and where it does not (model load time).

## Digitize analog gauge readings with edge AI

DevFeed: [Digitize analog gauge readings with edge AI](<https://devfeed.tech/articles/digitize-analog-gauge-readings-with-edge-ai-55046.md>)

Original publisher: [Read original article](<https://blog.arduino.cc/2026/09/18/digitize-analog-gauge-readings-with-edge-ai/>)

Author: Arduino Team

Published: 2026-09-18T12:44:36Z

Content type: tutorial

Language: en

Sources: [Arduino Blog](<https://devfeed.tech/sources/arduino-blog.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Arduino](<https://devfeed.tech/topics/arduino.md>), [UNO Q](<https://devfeed.tech/topics/uno-q.md>), [webcam](<https://devfeed.tech/topics/webcam.md>), [onnx runtime](<https://devfeed.tech/topics/onnx-runtime.md>), [dataset](<https://devfeed.tech/topics/dataset.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [analog-gauges](<https://devfeed.tech/tags/analog-gauges.md>), [arduino](<https://devfeed.tech/tags/arduino.md>), [camera](<https://devfeed.tech/tags/camera.md>), [edge-ai](<https://devfeed.tech/tags/edge-ai.md>), [logging](<https://devfeed.tech/tags/logging.md>), [microcontroller](<https://devfeed.tech/tags/microcontroller.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [onnx](<https://devfeed.tech/tags/onnx.md>), [onnx-runtime](<https://devfeed.tech/tags/onnx-runtime.md>), [uno-q](<https://devfeed.tech/tags/uno-q.md>)

### AI overview

An Arduino UNO Q uses edge AI, a USB webcam, and an ONNX Runtime MobileNetV3-Small model to read analog gauge needles without modifying industrial equipment. The approach digitizes gauge values for monitoring and logging, though accuracy decreases near the high and low ends of the gauge range.

### Source excerpt

Expense calculations in the industrial world tend to be unintuitive to individuals, because service and maintenance often consume larger chunks of the budget than the equipment itself. For that reason, modifications to equipment are usually seen as too risky to justify -- they can too easily impact serviceability. So, what do you do when you [...] The post Digitize analog gauge readings with edge AI appeared first on Arduino Blog.

## Using Large ONNX Models with External Data in Vespa Embedders

DevFeed: [Using Large ONNX Models with External Data in Vespa Embedders](<https://devfeed.tech/articles/using-large-onnx-models-with-external-data-in-vespa-embedders-12794.md>)

Original publisher: [Read original article](<https://blog.vespa.ai/onnx-external-data-in-vespa-embedders/>)

Author: bjorncs thomas

Published: 2026-03-27T00:00:00Z

Content type: article

Language: en

Sources: [Vespa Blog](<https://devfeed.tech/sources/vespa-blog.md>)

Topics: [onnx](<https://devfeed.tech/topics/onnx.md>), [onnx runtime](<https://devfeed.tech/topics/onnx-runtime.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>)

Tags: [authentication-tokens](<https://devfeed.tech/tags/authentication-tokens.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [downloads](<https://devfeed.tech/tags/downloads.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [embeddinggemma](<https://devfeed.tech/tags/embeddinggemma.md>), [example](<https://devfeed.tech/tags/example.md>), [external](<https://devfeed.tech/tags/external.md>), [hub](<https://devfeed.tech/tags/hub.md>), [limit](<https://devfeed.tech/tags/limit.md>), [model](<https://devfeed.tech/tags/model.md>), [model-weights](<https://devfeed.tech/tags/model-weights.md>), [onnx](<https://devfeed.tech/tags/onnx.md>), [onnx-runtime](<https://devfeed.tech/tags/onnx-runtime.md>), [private](<https://devfeed.tech/tags/private.md>), [protobuf](<https://devfeed.tech/tags/protobuf.md>), [ranking](<https://devfeed.tech/tags/ranking.md>), [separate](<https://devfeed.tech/tags/separate.md>), [support](<https://devfeed.tech/tags/support.md>)

### AI overview

Starting in Vespa 8.544, ONNX-based embedders can load models that exceed the 2 GB protobuf limit by automatically downloading external weight files referenced by the model graph. This applies to models supplied by URL or the Vespa Model Hub, including private models for which authentication tokens are propagated. It supports embedders only: models used directly in ranking expressions must remain self-contained and under 2 GB, and application-package bundled models do not support external data. The supplied excerpt ends while listing limitations, so it may not include all constraints.

### Source excerpt

Many ONNX models exceed the 2GB protobuf limit and store weights in external data files. Vespa now supports these models for embedders.

## Clojure Runs ONNX AI Models Now - Join the AI fun!

DevFeed: [Clojure Runs ONNX AI Models Now - Join the AI fun!](<https://devfeed.tech/articles/clojure-runs-onnx-ai-models-now-join-the-ai-fun-20727.md>)

Original publisher: [Read original article](<http://dragan.rocks/articles/25/Clojure-Runs-ONNX-AI-Models-Now>)

Published: 2025-10-26T15:56:00Z

Content type: tutorial

Language: en

Sources: [Dragan Djuric](<https://devfeed.tech/sources/dragan-djuric.md>)

Topics: [onnx](<https://devfeed.tech/topics/onnx.md>), [onnx runtime](<https://devfeed.tech/topics/onnx-runtime.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>), [Clojure](<https://devfeed.tech/topics/clojure.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Image](<https://devfeed.tech/topics/image.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-models](<https://devfeed.tech/tags/ai-models.md>), [clojure](<https://devfeed.tech/tags/clojure.md>), [deep](<https://devfeed.tech/tags/deep.md>), [diamond](<https://devfeed.tech/tags/diamond.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [gpu-computing](<https://devfeed.tech/tags/gpu-computing.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [ml](<https://devfeed.tech/tags/ml.md>), [ml-models](<https://devfeed.tech/tags/ml-models.md>), [model](<https://devfeed.tech/tags/model.md>), [models](<https://devfeed.tech/tags/models.md>), [onnx](<https://devfeed.tech/tags/onnx.md>), [onnx-runtime](<https://devfeed.tech/tags/onnx-runtime.md>), [python](<https://devfeed.tech/tags/python.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [tensors](<https://devfeed.tech/tags/tensors.md>)

### AI overview

The article presents a Clojure API that loads pretrained ONNX models through ONNX Runtime's underlying C library, with no Python runtime or Python interop required. Its `onnx` function turns a model into a component for Deep Diamond networks and tensors; the example loads an MNIST model, supplies a single 28x28 grayscale image, runs inference, and uses Neanderthal's `iamax` to select digit 7 from the output. The author says GPU support is desired through Clojure numerical libraries, while noting ONNX Runtime is for production inference and training is not available in this setup. The example is single-image and shows a simple tensor transfer, while the API also has options and clojurized access to internals that are left for later discussion.

### Source excerpt

Hello, Clojurians! I haven't written here in a long time. Was I tired? Is anybody reading blogs anymore? Who knows. But that was not the main reason. I've been working on several Clojure projects sponsored by the Clojurists Together Foundation. I did a ton of things, but after all this programming, I was kinda tired, and kept slugging when it comes to telling people about the work done! That's not very smart, but you know how it goes... :) But, then, if we don't tell people about awesome software that we have, nobody is going to use it, so finally I had to stop kicking this down the road, sit, and write the first post. It's been long overdue, so expect more posts soon! ONNX Runtime in one line of Clojure The most recent thing I'm currently working on started its life as Clojure ML (again, superthanks to Clojurists Together for sponsoring this). I proposed to create a human-friendly Clojure API for AI/DL/ML models, and back it by the first implementation, in this case based on ONNX Runtime. Of course, it should all be integrated into existing Clojure libraries, and follow the Clojure way of doing stuff as much as possible! The idea is to get an existing, pre-trained ML model previously exported to the ONNX format from whatever technology the authors chose (which in today's world is typically Python and PyTorch), and put it into production in Clojure and JVM. It should be seamless and in-process, without any clunky interoperability, copy, translation, etc. Of course, our Clojure numerical libraries fully support GPU computing, so it goes without saying that we want that, too! Just to be clear, we do not use nor need any Python or Python interop for this, we use the ONNX Runtime's underlying C library. Nice idea, but what parts of this well intended story can we evaluate in our REPLs right now? At least some promising demo? Are we on the trail? To access that AI goodness, we surely have to do a sophisticated dance? Are the steps hard to learn? Do we need to watch careful

## Stable Diffusion Now Optimized for AMD Radeon™ GPUs and Ryzen™ AI APUs

DevFeed: [Stable Diffusion Now Optimized for AMD Radeon™ GPUs and Ryzen™ AI APUs](<https://devfeed.tech/articles/stable-diffusion-now-optimized-for-amd-radeontm-gpus-and-ryzentm-ai-apus-82876.md>)

Original publisher: [Read original article](<https://stability.ai/news-updates/stable-diffusion-now-optimized-for-amd-radeon-gpus>)

Author: Guest User

Published: 2025-04-16T13:02:52Z

Content type: release

Language: en

Sources: [News & Updates - Stability AI](<https://devfeed.tech/sources/news-updates-stability-ai.md>)

Topics: [stable-diffusion](<https://devfeed.tech/topics/stable-diffusion.md>), [AMD FidelityFX Super Resolution (FSR)](<https://devfeed.tech/topics/amd-fsr-upscaling.md>), [GPU](<https://devfeed.tech/topics/gpu.md>), [onnx](<https://devfeed.tech/topics/onnx.md>), [TensorRT](<https://devfeed.tech/topics/tensorrt.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [amd](<https://devfeed.tech/tags/amd.md>), [gpus](<https://devfeed.tech/tags/gpus.md>), [inference](<https://devfeed.tech/tags/inference.md>), [onnx](<https://devfeed.tech/tags/onnx.md>), [onnx-runtime](<https://devfeed.tech/tags/onnx-runtime.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [performance](<https://devfeed.tech/tags/performance.md>), [stable-diffusion](<https://devfeed.tech/tags/stable-diffusion.md>)

### AI overview

Stability AI and AMD released ONNX-optimized versions of four Stable Diffusion models for Radeon GPUs and Ryzen AI APUs. The versions are available on Hugging Face and Amuse 3.0. The article reports up to 2.6x faster inference for SD3.5 and up to 3.8x for SDXL compared with base PyTorch models.

### Source excerpt

We've collaborated with AMD to deliver select ONNX-optimized versions of the Stable Diffusion model family, engineered to run faster and more efficiently on AMD Radeon™ GPUs and Ryzen™ AI APUs.