惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
L
LangChain Blog
aimingoo的专栏
aimingoo的专栏
IT之家
IT之家
B
Blog
博客园_首页
博客园 - 司徒正美
有赞技术团队
有赞技术团队
博客园 - 聂微东
I
InfoQ
美团技术团队
GbyAI
GbyAI
阮一峰的网络日志
阮一峰的网络日志
H
Help Net Security
大猫的无限游戏
大猫的无限游戏
MyScale Blog
MyScale Blog
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
A
About on SuperTechFans
人人都是产品经理
人人都是产品经理
Microsoft Azure Blog
Microsoft Azure Blog
Engineering at Meta
Engineering at Meta
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Cloudflare Blog

Mozilla.ai

Introducing Agent Skills in Octonous Open Source Is Not a Virtue: It’s an Ownership Model Using Octonous as a Product Operations Manager llamafile v0.10.5 The Future of AI is Personal — But Not The Way You Think How Frontier Labs Are Building Subtle Developer Lock-In Who Cares About LLM costs? Stop Chasing New Models. Build Once and Access Them All. From Evaluation to Guardrails: What We Brought to ACM FAccT 2026 Open Models are ready for agents. Their APIs are not. Using Octonous as an AI Safety Engineer The Control Layer: Why the Next Era of AI Is About Infrastructure, Not Just Models Introducing Otari: The Open-Source LLM Control Plane Announcing transcribe.cpp Using Octonous as a Product Manager What is an LLM control plane? Use the Otari Gateway with OpenCode Otari: Own Your AI Stack | AI Gateway & Hosted Platform AI Got Expensive. Now What? | Mozilla.ai cq exchange: Agents without Borders The Interface Is No Longer the Product VIBE✓: First Defense for cq (Stack Overflow for Agents) Octonous Open Beta: What We've Learned and Where We're Going Sovereign AI: Control, Choice, and Beyond Geopolitics Encoderfile’s New Format: Why a “Dull” Design Wins The Real Challenge Behind Small Trade Businesses Hardening Your LLM Dependency Supply Chain cq: Stack Overflow for Agents cq: Stack Overflow for Agents llamafile Reloaded: What’s New in v0.10.0
Image Classification Comes to encoderfile
Javier Torres Ramón · 2026-06-23 · via Mozilla.ai
Announcement

Encoderfile now handles images. Starting with image classification, you can run vision models as a single executable — no Python runtime, no serving infrastructure, just a file path in and a label out.

Javier Torres Ramón

2 min read

Image Classification Comes to encoderfile
Image input. Zero dependencies. One label.

At mozilla.ai we have developed encoderfiles to make it easy to deploy pure encoders with zero dependencies on multiple platforms. Although not as glamorous as LLMs, they still power many of the current RAG or sentiment analysis pipelines, to name a few applications. Some prebuilt encoderfiles are already available at HuggingFace, but you can easily build your own from ONNX weights and a JSON config.

Current encoderfiles allow only text processing, either for embeddings or classification. We have expanded the encoderfile project to carry out image tasks, starting with image classification. Object detection and image segmentation will follow soon.

Image Inputs and Interfaces 

Image tasks have somewhat different requirements from text tasks. The binary and large nature of images makes them unsuitable as CLI parameters, so encoderfile reads them from file paths passed as arguments instead. 

We consciously chose not to retrieve remote URLs to reduce the attack surface. The binary nature of images also restricts the use of JSON input, requiring a multipart request in the HTTP/S interface. Since gRPC handles binary data natively, no interface changes are needed there.

Preprocessing

As opposed to text, image tasks are also heavier on preprocessing steps than postprocessing steps. In the case of text embeddings, some kind of pooling can be done on the individual word embeddings, for which we allow Lua scripts to be included in the encoderfile. In the case of images, they usually need to be rescaled to some size (usually 224 x 224 for historical reasons), and normalized from the standard 0-255 byte range to a floating point quantity with some predefined mean and standard deviation. The number of channels is also important, whether it is 1 for grayscale images or 3 for full RGB. So we decided to also allow preprocessing scripts in Lua to make this step flexible, including a default that will usually work out of the box with the most common models.

What’s Next 

We plan to support special files like standard input, Unix named pipes or Windows Named Pipes seamlessly, allowing other components to connect to the encoderfile to feed it with data. 

Object detection tasks share many similarities with image classification, and hence it feels a natural next step. The output is still reduced, since it is just a JSON holding bounding boxes and class tags. The image segmentation task, however, requires sending the user back a potentially large shaded image covering each object. For HTTP requests and local standard output, we will again use multipart payloads; for gRPC, it is even easier to return a blob back.

This is our current roadmap for image processing in encoderfile. We are eager to explore other tasks and other types of input to help make models easy and efficient to deploy, so please let us know what features you would like to see down the road.