Automic VaultAutomic Vault

brew

使用 Homebrew 安装 text-embeddings-inference

查看 text-embeddings-inference 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install text-embeddings-inference

local Homebrew formula metadata

概览

软件包摘要

Blazing fast inference solution for text embeddings models

命令和别名

  • text-embeddings-router

历史

项目历史与用法

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.

时间线

  • 2023: Hugging Face blog material presents Text Embedding Inference in embedding-model deployment workflows.
  • 2024: Hugging Face announces a SageMaker embedding container powered by TEI for embedding models and RAG applications.
  • 2025-2026: official docs and repository list expanded model families, hardware images, ONNX loading, OpenAI-compatible routes, Homebrew installation, and continued releases.

Related projects

  • Hugging Face Hub supplies model IDs, revisions, private/gated model access, and compatible model tags.
  • Text Generation Inference is the related Hugging Face serving project for generative language models.
  • Candle, Safetensors, Flash Attention, ONNX, and cuBLASLt are cited upstream as core performance or loading technologies.
  • MTEB and embedding model families such as BGE, E5, GTE, Nomic, Qwen, Jina, and Snowflake Arctic shape the models TEI users package and serve.

来源

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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 files

Credential-bearing paths to review before unattended agent runs.

Unix
$HF_HOME/token

可执行文件

已安装的可执行文件

命令类型暴露范围备注
text-embeddings-routercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.9.3
管理器更新时间2026-07-14
本地数据OK
上游当前
检测到的最新版本v1.9.3

https://github.com/huggingface/text-embeddings-inference

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖openssl@3
构建依赖pkgconf, rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametext-embeddings-inference
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment