macOS
brew install text-embeddings-inferencelocal Homebrew formula metadata
安装
brew install text-embeddings-inferencelocal Homebrew formula metadata
概览
Blazing fast inference solution for text embeddings models
历史
Text Embeddings Inference, usually abbreviated TEI, is Hugging Face's Rust-oriented serving toolkit for text-embedding, reranking, and sequence-classification models. It emerged from the operational need to serve embedding models efficiently for retrieval-augmented generation, semantic search, and large-scale vector indexing.
The official repository and documentation describe TEI as a toolkit for deploying and serving open source text embeddings and sequence classification models. Its design emphasizes no model graph compilation step, small Docker images, fast boot times, token-based dynamic batching, optimized inference with Flash Attention, Candle, and cuBLASLt, Safetensors and ONNX weight loading, and production features such as OpenTelemetry tracing and Prometheus metrics.
Hugging Face's official deployment material places TEI inside the broader Inference Endpoints and embedding-container story. A Hugging Face blog on embedding endpoints presents Text Embedding Inference as the managed solution used to deploy open-source embedding models, and the SageMaker embedding-container announcement says the container is powered by TEI for efficient deployment of embedding models used in RAG applications.
The normal package-nerd entry point is the text-embeddings-router executable or a ghcr.io/huggingface/text-embeddings-inference Docker image. Users select a Hugging Face model ID or local model directory with --model-id, expose HTTP endpoints such as /embed, /rerank, /predict, or OpenAI-compatible embeddings routes, and tune batch/request limits to match hardware.
Homebrew is explicitly documented for Apple Silicon local installs: the upstream README says users can brew install text-embeddings-inference and launch text-embeddings-router with Metal acceleration. Docker images cover CPU, CUDA architectures, ARM64, Hopper, Blackwell, and related hardware tiers.
TEI matters to package and infrastructure nerds because it turns a fast-moving ML serving stack into a versioned binary/container artifact. It pulls together model formats, GPU capability constraints, batching limits, metrics, tracing, Hugging Face Hub model IDs, private model tokens, and platform-specific acceleration.
Its Homebrew formula is notable because it gives Mac users a native local embedding server path outside Docker, useful for development, local RAG experiments, and testing Hub-compatible embedding models on Apple Silicon.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Credential-bearing paths to review before unattended agent runs.
$HF_HOME/token可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
text-embeddings-router | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/huggingface/text-embeddings-inference
安装元数据
| 软件包键 | brew:text-embeddings-inference |
|---|---|
| 版本 | 1.9.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/text-embeddings-inference |
| 主页 | https://huggingface.co/docs/text-embeddings-inference/quick_tour |
| 仓库 | https://github.com/huggingface/text-embeddings-inference |
| 上游文档 | https://huggingface.co/docs/text-embeddings-inference/index |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/huggingface/text-embeddings-inference/archive/refs/tags/v1.9.3.tar.gz |
| 最后更新 | 2026-07-14T17:14:17+09:00 |
| Pulse | updated |
| 依赖 | openssl@3 |
| 构建依赖 | pkgconf, rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | text-embeddings-inference |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.